aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/completion.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-09-06 12:39:55 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-09-07 21:53:49 +0200
commitf9fc8cad9728124cefe8844fb53d1814c92c6bfc (patch)
tree1d8a1b332af2b0f921951310852284b8e556f162 /kernel/sched/completion.c
parentsched: Change wait_task_inactive()s match_state (diff)
downloadlinux-dev-f9fc8cad9728124cefe8844fb53d1814c92c6bfc.tar.xz
linux-dev-f9fc8cad9728124cefe8844fb53d1814c92c6bfc.zip
sched: Add TASK_ANY for wait_task_inactive()
Now that wait_task_inactive()'s @match_state argument is a mask (like ttwu()) it is possible to replace the special !match_state case with an 'all-states' value such that any blocked state will match. Suggested-by: Ingo Molnar (mingo@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/YxhkzfuFTvRnpUaH@hirez.programming.kicks-ass.net
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions