Re: [patch V2 01/12] sched: Provide and use set_need_resched_current()
From: Sebastian Andrzej Siewior
Date: Mon Oct 27 2025 - 05:09:40 EST
On 2025-10-22 14:57:29 [+0200], Thomas Gleixner wrote:
> set_tsk_need_resched(current) requires set_preempt_need_resched(current) to
> work correctly outside of the scheduler.
>
> Provide set_need_resched_current() which wraps this correctly and replace
> all the open coded instances.
>
> Signed-off-by: Peter Zilstra <peterz@xxxxxxxxxxxxx>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Peter's SOB comes first be he is not the author. Is this meant to be
Co-developed-by or is his authorship lost?
Sebastian