Messages in this thread | | | From | Thomas Gleixner <> | Subject | Re: [PATCH v2] x86/kvm: Disable KVM_ASYNC_PF_SEND_ALWAYS | Date | Thu, 09 Apr 2020 01:14:06 +0200 |
| |
Thomas Gleixner <tglx@linutronix.de> writes: > Vivek Goyal <vgoyal@redhat.com> writes: > > and the host completion injection which handles the queued completion > when guest IF=0 does:
obviously IF=1 ...
> > struct ve_page *vp = vcpu->ve_page; > > vp->host_current = idx; > inject_ve_complete(vcpu); > > The guest completion does: > > struct ve_page *vp = this_cpu_ptr(&ve_page); > struct ve_info *info; > > info = vp->info + vp->host_current; > rcuwait_wake_up(&info->wait); > > There are a bunch of life time issues to think about (not rocket > science), but you get the idea. > > Thanks, > > tglx
| |