Re: [PATCH/RFC 7/9] KVM: s390: Optimize paths where get_vcpu_asce() is invoked

2015-03-16 Thread Cornelia Huck
On Mon, 16 Mar 2015 09:51:43 +0100 Christian Borntraeger wrote: > From: Alexander Yarygin > > 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 a

[PATCH/RFC 7/9] KVM: s390: Optimize paths where get_vcpu_asce() is invoked

2015-03-16 Thread Christian Borntraeger
From: Alexander Yarygin 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 Yarygi