| commit | 5d66fbee9d1143a74449ac9c8dacaba76da49ca5 | [log] [tgz] |
|---|---|---|
| author | Peter Zijlstra <peterz@infradead.org> | Thu Aug 14 12:42:18 2025 +0200 |
| committer | Thomas Gleixner <tglx@linutronix.de> | Sun Nov 23 20:10:44 2025 +0100 |
| tree | 8bb97ac0d7bc95130199e139939ffafd11a9c610 | |
| parent | bad9b9153d7c865137863f86ec4935ec64dced83 [diff] |
sched: Provide and use set_need_resched_current() 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 Zijlstra <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>