[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87369dr2o1.fsf@nanos.tec.linutronix.de>
Date: Thu, 09 Apr 2020 01:14:06 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Vivek Goyal <vgoyal@...hat.com>
Cc: Paolo Bonzini <pbonzini@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Andy Lutomirski <luto@...capital.net>,
Peter Zijlstra <peterz@...radead.org>,
Andy Lutomirski <luto@...nel.org>,
LKML <linux-kernel@...r.kernel.org>, X86 ML <x86@...nel.org>,
kvm list <kvm@...r.kernel.org>, stable <stable@...r.kernel.org>
Subject: Re: [PATCH v2] x86/kvm: Disable KVM_ASYNC_PF_SEND_ALWAYS
Thomas Gleixner <tglx@...utronix.de> writes:
> Vivek Goyal <vgoyal@...hat.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
Powered by blists - more mailing lists