diff options
author | Alexander Yarygin <yarygin@linux.vnet.ibm.com> | 2015-01-22 10:44:11 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-03-17 16:25:31 +0100 |
commit | 75a1812230ad7ad16e5a06b5ef2220f765b12da5 (patch) | |
tree | 8272f8ea8d732d45f6eca9d403aebec415c2391d /security/security.c | |
parent | KVM: s390: Guest's memory access functions get access registers (diff) | |
download | linux-75a1812230ad7ad16e5a06b5ef2220f765b12da5.tar.xz linux-75a1812230ad7ad16e5a06b5ef2220f765b12da5.zip |
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 <yarygin@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions