]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: Add an event, SCX_EV_DISPATCH_LOCAL_DSQ_OFFLINE
authorChangwoo Min <changwoo@igalia.com>
Fri, 31 Jan 2025 07:09:30 +0000 (16:09 +0900)
committerTejun Heo <tj@kernel.org>
Sun, 2 Feb 2025 17:23:18 +0000 (07:23 -1000)
commit9be0a1b0c8fbd21ef6d7f9428a76b759f9db0de3
treebf2724b08b4b269bc6a363c3022cae3ca1a12a85
parentf7f6142107f0e0dd4a2b041116461a049ca18cb0
sched_ext: Add an event, SCX_EV_DISPATCH_LOCAL_DSQ_OFFLINE

Add a core event, SCX_EV_DISPATCH_LOCAL_DSQ_OFFLINE, which represents how
many times a BPF scheduler tries to dispatch to an offlined local DSQ.

__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