diff options
author | Alexander Yarygin <yarygin@linux.vnet.ibm.com> | 2015-01-22 04:44:11 -0500 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-03-17 11:25:31 -0400 |
commit | 75a1812230ad7ad16e5a06b5ef2220f765b12da5 (patch) | |
tree | 8272f8ea8d732d45f6eca9d403aebec415c2391d /arch/mips/loongson/Kconfig | |
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 <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 'arch/mips/loongson/Kconfig')
0 files changed, 0 insertions, 0 deletions