]> www.infradead.org Git - users/willy/xarray.git/commit
sched_ext: change the variable name for slice refill event
authorHonglei Wang <jameshongleiwang@126.com>
Fri, 18 Apr 2025 03:26:02 +0000 (11:26 +0800)
committerTejun Heo <tj@kernel.org>
Sat, 19 Apr 2025 03:25:39 +0000 (17:25 -1000)
commitf203683c3e8d457acdb8bb4eddc29a31af1c77fd
treef939eee602a50448531c71b551ff42f14f551932
parent6d65f682a9f20ed26c822812129f191455002f1c
sched_ext: change the variable name for slice refill event

SCX_EV_ENQ_SLICE_DFL gives the impression that the event only occurs
when the tasks were enqueued, which seems not accurate. What it actually
means is the refilling with defalt slice, and this can occur either when
enqueue or pick_task. Let's change the variable to
SCX_EV_REFILL_SLICE_DFL.

Signed-off-by: Honglei Wang <jameshongleiwang@126.com>
Acked-by: Changwoo Min <changwoo@igalia.com>
Acked-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c
tools/sched_ext/scx_qmap.bpf.c