Re: [PATCH] livepatch: Avoid CPU hogging with cond_resched

From: Joe Lawrence
Date: Fri Jan 07 2022 - 09:13:16 EST


On 12/29/21 4:56 PM, David Vernet wrote:
> For example, under certain workloads, enabling a KLP patch with
> many objects or functions may cause ksoftirqd to be starved, and thus for
> interrupts to be backlogged and delayed.

Just curious, approximately how many objects/functions does it take to
hit this condition? While the livepatching kselftests are more about
API and kernel correctness, this sounds like an interesting test case
for some of the other (out of tree) test suites.

Thanks,
--
Joe