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

Add a core event, SCX_EV_SELECT_CPU_FALLBACK, which represents how many times
ops.select_cpu() returns a CPU that the task can't use.

__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>
include/linux/sched/ext.h
kernel/sched/ext.c