summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-09-10 17:48:09 +0200
committerChristian Brauner <brauner@kernel.org>2026-10-05 13:11:49 +0200
commit5d075bd77ffbced7863d31e22cb2e7107e1ab957 (patch)
tree38f5725d6ba552c45ef444091cd3088ace975c3c /tools/lib/python
parentc2fe52e23c12aef43c0522196c28f9e2721634ae (diff)
downloadlinux-next-5d075bd77ffbced7863d31e22cb2e7107e1ab957.tar.gz
linux-next-5d075bd77ffbced7863d31e22cb2e7107e1ab957.zip
sched: add wait_var_event_state()
All wait_var_event() sleep in a fixed task state. For coredumps we need a variant that takes the state from the caller the way wait_event_state() does. This allows us to continue sleeping with TASK_FREEZABLE. That's certainly also a useful addition for other places. Link: https://patch.msgid.link/20260910-work-coredump-unlock-self-v4-11-a5c1800dc930@kernel.org Reviewed-by: NeilBrown <neil@brown.name> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions