mbox series

[0/2] KVM: x86: Minor steal time cleanups

Message ID 20210123000334.3123628-1-seanjc@google.com (mailing list archive)
Headers show
Series KVM: x86: Minor steal time cleanups | expand

Message

Sean Christopherson Jan. 23, 2021, 12:03 a.m. UTC
Cleanups and a minor optimization to kvm_steal_time_set_preempted() that
were made possible by the switch to using a cache gfn->pfn translation.

Sean Christopherson (2):
  KVM: x86: Remove obsolete disabling of page faults in
    kvm_arch_vcpu_put()
  KVM: x86: Take KVM's SRCU lock only if steal time update is needed

 arch/x86/kvm/x86.c | 30 +++++++++++-------------------
 1 file changed, 11 insertions(+), 19 deletions(-)

Comments

Paolo Bonzini Jan. 25, 2021, 5:23 p.m. UTC | #1
On 23/01/21 01:03, Sean Christopherson wrote:
> Cleanups and a minor optimization to kvm_steal_time_set_preempted() that
> were made possible by the switch to using a cache gfn->pfn translation.
> 
> Sean Christopherson (2):
>    KVM: x86: Remove obsolete disabling of page faults in
>      kvm_arch_vcpu_put()
>    KVM: x86: Take KVM's SRCU lock only if steal time update is needed
> 
>   arch/x86/kvm/x86.c | 30 +++++++++++-------------------
>   1 file changed, 11 insertions(+), 19 deletions(-)
> 

Queued, thanks.

Paolo