sched_ext: Put event_stats_cpu in struct scx_sched_pcpu

[ Upstream commit bcb7c23056 ]

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>
Stable-dep-of: efeeaac9ae ("sched_ext: Sync error_irq_work before freeing scx_sched")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Tejun Heo 2025-09-03 11:33:28 -10:00 • committed by Greg Kroah-Hartman
commit 733d0e1184
2 changed files with 19 additions and 16 deletions