summaryrefslogtreecommitdiff
path: root/include/linux/workqueue_api.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2026-05-26 12:42:29 +0300
committerPeter Zijlstra <peterz@infradead.org>2026-06-02 13:26:09 +0300
commitbe365ce2bc20b8970bed350f82c3b760256b6945 (patch)
treea60f26b42bcc44077453df9f96d77b8efee71ff1 /include/linux/workqueue_api.h
parent7918cf3693614c9f96bc9e43daff6fc72c01b81a (diff)
downloadlinux-be365ce2bc20b8970bed350f82c3b760256b6945.tar.xz
sched/proxy: Switch proxy to use p->is_blocked
Rather than gate the proxy paths with p->blocked_on, use p->is_blocked. This opens up the state: '->is_blocked && !->blocked_on' for future use. Notably, only proxy and delayed tasks can be ->on_rq && ->is_blocked, and it is guaranteed that sched_class::pick_task() will never return a delayed task. Therefore any task returned from pick_next_task() that has ->is_blocked set, must be a proxy task. Suggested-by: K Prateek Nayak <kprateek.nayak@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260526113322.477954312%40infradead.org
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions