On Mon, 16 Mar 2015 09:51:43 +0100 Christian Borntraeger <borntraeger@xxxxxxxxxx> wrote: > From: Alexander Yarygin <yarygin@xxxxxxxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxxxxxxx> > Reviewed-by: Thomas Huth <thuth@xxxxxxxxxxxxxxxxxx> > Reviewed-by: David Hildenbrand <dahi@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx> > --- > arch/s390/kvm/gaccess.c | 25 ++++++++++++------------- > 1 file changed, 12 insertions(+), 13 deletions(-) Acked-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html