]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
signal: update outdated comment for removed freezable_schedule()
authorKexin Sun <kexinsun@smail.nju.edu.cn>
Sat, 21 Mar 2026 10:59:27 +0000 (18:59 +0800)
committerChristian Brauner <brauner@kernel.org>
Mon, 23 Mar 2026 15:38:31 +0000 (16:38 +0100)
commit4c68d150246d7e1d826a807a82e6eb6b4669f42c
tree94c452d81637eb4862a646c60638c8139ba3bea5
parent68b953730e94c0b3417573b7288d78995a48be4b
signal: update outdated comment for removed freezable_schedule()

The function freezable_schedule() was removed in commit
f5d39b020809 ("freezer,sched: Rewrite core freezer logic"), which
rewrote the freezer to use a dedicated TASK_FROZEN state instead.

do_signal_stop() and ptrace_stop() no longer call
freezable_schedule(); they now set TASK_STOPPED/TASK_TRACED and the
freezer handles those states directly via TASK_FROZEN.  Update the
comment to reflect the current mechanism.

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Link: https://patch.msgid.link/20260321105927.7979-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Christian Brauner <brauner@kernel.org>
kernel/signal.c