]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: Add an event, SCX_EV_BYPASS_DISPATCH
authorChangwoo Min <changwoo@igalia.com>
Tue, 4 Feb 2025 05:20:53 +0000 (14:20 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 4 Feb 2025 20:36:47 +0000 (10:36 -1000)
commit5c605cd33cad957f3eff747e088d07db23808080
treed5531405c78155b73338773216afd51903029b17
parent4f7a38c7c917436bb40f10c251a1a973e2f1ada8
sched_ext: Add an event, SCX_EV_BYPASS_DISPATCH

Add a core event, SCX_EV_BYPASS_DISPATCH, which represents how many
tasks have been dispatched in the bypass mode.

__scx_add_event() is used since the caller holds an rq lock or
p->pi_lock, so the preemption has already been disabled.

Signed-off-by: Changwoo Min <changwoo@igalia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c