+23
−9
Loading
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>