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

Add a core event, SCX_EV_ENQ_SKIP_EXITING, which represents how many
times a task is enqueued to a local DSQ when exiting if
SCX_OPS_ENQ_EXITING is not set.

__scx_add_event() is used since the caller holds an rq 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