diff options
author | Alexander Yarygin <[email protected]> | 2015-01-22 12:44:11 +0300 |
---|---|---|
committer | Christian Borntraeger <[email protected]> | 2015-03-17 16:25:31 +0100 |
commit | 75a1812230ad7ad16e5a06b5ef2220f765b12da5 (patch) | |
tree | 8272f8ea8d732d45f6eca9d403aebec415c2391d /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 8ae04b8f500b9f46652c63431bf658223d875597 (diff) |
KVM: s390: Optimize paths where get_vcpu_asce() is invoked
During dynamic address translation the get_vcpu_asce()
function can be invoked several times. It's ok for usual modes, but will
be slow if CPUs are in AR mode. Let's call the get_vcpu_asce() once and
pass the result to the called functions.
Signed-off-by: Alexander Yarygin <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions