lkml.org 
[lkml]   [2020]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RESEND] Atomic switch of MSR_IA32_UMWAIT_CONTROL
From
Date
On 23/01/20 16:45, Sean Christopherson wrote:
> cc'ing KVM and LKML this time...
>
> Why does KVM use the atomic load/store lists to load MSR_IA32_UMWAIT_CONTROL
> on VM-Enter/VM-Exit? Unless the host kernel is doing UWMAIT, which it
> really shouldn't and AFAICT doesn't, isn't it better to use the shared MSR
> mechanism to load the host value only when returning to userspace, and
> reload the guest value on demand?

Just laziness I guess.

Paolo

\
 
 \ /
  Last update: 2020-01-23 17:16    [W:4.712 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site