On Fri, May 09 2025 at 13:36, Sebastian Andrzej Siewior wrote: > From: Peter Zijlstra <[email protected]> > > With the goal of deprecating / removing VOLUNTARY preempt, live-patch > needs to stop relying on cond_resched() to make forward progress. > > Instead, rely on schedule() with TASK_FREEZABLE set. Just like > live-patching, the freezer needs to be able to stop tasks in a safe / > known state. > > Compile tested only. > > [bigeasy: use likely() in __klp_sched_try_switch() and update comments] > > Signed-off-by: Peter Zijlstra (Intel) <[email protected]> > Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>

