diff options
| author | Tejun Heo <tj@kernel.org> | 2026-03-07 05:29:49 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-07 05:29:49 -1000 |
| commit | 363cd075e97058f70404ed34955864b99530cbdb (patch) | |
| tree | 244fcf197323080d679ee9abe9b7b88070f6d7b3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d4ae868c6b7d6aaa29c86c4f72f68d2252709178 (diff) | |
sched_ext: Factor out pnode allocation and deallocation into helpers
Extract pnode allocation and deallocation logic into alloc_pnode() and
free_pnode() helpers. This simplifies scx_alloc_and_add_sched() and prepares
for adding more per-node initialization and cleanup in subsequent patches.
No functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
