Re: [RFC] sched,livepatch: call stop_one_cpu in klp_check_and_switch_task

From: Rik van Riel
Date: Mon May 09 2022 - 15:50:04 EST


On Mon, 2022-05-09 at 12:17 -0700, Josh Poimboeuf wrote:
> On Mon, May 09, 2022 at 03:10:16PM -0400, Rik van Riel wrote:
>
>
> > Should kernel threads that can use a lot of CPU have
> > something in their outer loop to transition KLPs,
> > just like the idle task does?
>
> Maybe - I suppose this is the first time we've had an issue with
> CPU-bound kthreads.  I didn't know that was a thing ;-)
>
Kworkers have as much work as you want them to do, and with
things like btrfs compression that can be quite a bit.

--
All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part