]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched: Simplify ttwu_runnable()
authorPeter Zijlstra <peterz@infradead.org>
Tue, 26 May 2026 10:00:59 +0000 (12:00 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 2 Jun 2026 10:26:10 +0000 (12:26 +0200)
commit56e50ff567810db208cc37d9e17b8df044a9158c
tree81e08128b86f03b37a2ed611babe4d879a4f486c
parentc0404dd88d124714351f7a961d3313ee0f2f036b
sched: Simplify ttwu_runnable()

Note that both proxy and delayed tasks have ->is_blocked set. Use this one
condition to guard both paths.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260526113322.714832584%40infradead.org
kernel/sched/core.c