sched/topology: Refinement to topology_span_sane speedup
Simplify the topology_span_sane code further, removing the need to allocate an array and gotos used to make sure the array gets freed. This version is in a separate commit because it could return a different sanity result than the previous code, but only in odd circumstances that are not expected to actually occur; for example, when a CPU is not listed in its own mask. Signed-off-by:Steve Wahl <steve.wahl@hpe.com> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by:
Valentin Schneider <vschneid@redhat.com> Reviewed-by:
Madadi Vineeth Reddy <vineethr@linux.ibm.com> Tested-by:
K Prateek Nayak <kprateek.nayak@amd.com> Tested-by:
Valentin Schneider <vschneid@redhat.com> Tested-by:
Madadi Vineeth Reddy <vineethr@linux.ibm.com> Link: https://lore.kernel.org/r/20250304160844.75373-3-steve.wahl@hpe.com
Loading
Please sign in to comment