]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched_ext: Put event_stats_cpu in struct scx_sched_pcpu
authorTejun Heo <tj@kernel.org>
Wed, 3 Sep 2025 21:33:28 +0000 (11:33 -1000)
committerTejun Heo <tj@kernel.org>
Wed, 3 Sep 2025 21:33:28 +0000 (11:33 -1000)
commitbcb7c2305682c77a8bfdbfe37106b314ac10110f
tree90580d8e0762648844a26b7958d0db9a3663f0fb
parent0c2b8356e430229efef42b03bd765a2a7ecf73fd
sched_ext: Put event_stats_cpu in struct scx_sched_pcpu

scx_sched.event_stats_cpu is the percpu counters that are used to track
stats. Introduce struct scx_sched_pcpu and move the counters inside. This
will ease adding more per-cpu fields. No functional changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Andrea Righi <arighi@nvidia.com>
kernel/sched/ext.c
kernel/sched/ext_internal.h