lkml.org 
[lkml]   [2023]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: KVM nonblocking MMU notifier with KVM_GUEST_USES_PFN looks racy [but is currently unused]
From
On Mon, Sep 18, 2023, Jann Horn wrote:
> Hi!
>
> I haven't tested this and might be missing something, but I think that
> the MMU notifier for KVM_GUEST_USES_PFN pfncache is currently a bit
> broken. Except that nothing seems to actually use KVM_GUEST_USES_PFN,
> so currently it's not actually a problem?

Yeah, the implementation is busted, and IMO the entire concept is a dead-end[1].
David Steven's series[2] doesn't actually rip out KVM_GUEST_USES_PFN, I'll add
that to the todo list. There are no users, and I don't expect any to come along,
precisely because it's busted :-)

[1] https://lore.kernel.org/all/ZBEEQtmtNPaEqU1i@google.com
[2] https://lkml.kernel.org/r/20230911021637.1941096-1-stevensd%40google.com

\
 
 \ /
  Last update: 2023-09-18 20:09    [W:0.028 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site