lkml.org 
[lkml]   [2020]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] x86/kvm: Disable KVM_ASYNC_PF_SEND_ALWAYS
Date
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

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