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

From: Michal Koutný
Date: Mon Nov 25 2024 - 04:01:15 EST


On Mon, Nov 18, 2024 at 01:42:27PM GMT, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
> I mean being able to send it to the threads with an effect.

Understood now.

> > Consequently, it's OK if a (possibly unprivileged) user stops this
> > thread forever (they only harm themselves, not the rest of the system),
> > correct?
>
> Yes, they will run with fewer huge pages and worse TLB performance.

Alright.

Thanks,
Michal

> > It is nice indeed.
> > I think the bugs we saw are not so serious to warrant
> > Fixes: c57c80467f90e ("kvm: Add helper function for creating VM worker threads")

I'm mainly posting this because there are some people surprised this
didn't get to 6.12. Hence I wonder if Cc: stable would be helpful here.

Attachment: signature.asc
Description: PGP signature