Re: [PATCH] KVM: x86: switch hugepage recovery thread to vhost_task

Alyssa Ross
2025-01-22T11:38:28Z

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

On Wed, Jan 15, 2025 at 12:03:27PM -0700, Keith Busch wrote:
> On Wed, Jan 15, 2025 at 06:10:05PM +0100, Paolo Bonzini wrote:
> > You can implement something like pthread_once():
>
> ...
>
> > Where to put it I don't know. It doesn't belong in
> > include/linux/once.h. I'm okay with arch/x86/kvm/call_once.h and just
> > pull it with #include "call_once.h".
>
> Thanks for the suggestion, I can work with that. As to where to put it,
> I think the new 'struct once' needs to be a member of struct kvm_arch,
> so I've put it in arch/x86/include/asm/.
>
> Here's the result with that folded in. If this is okay, I'll send a v2,
> and can split out the call_once as a prep patch with your attribution if
> you like.

Has there been any progress here? I'm also affected by the crosvm
regression, and it's been backported to the LTS stable kernel.

(CCing the stable and regressions lists to make sure the regression is
tracked.)

#regzbot introduced: d96c77bd4eeb

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]