[PATCH 0/2] sched/topology: optimize topology_span_sane()

From: Yury Norov
Date: Fri Aug 02 2024 - 13:58:07 EST


Pre-compute pre-compute topology_span_sane() loop params and optimize
the functtion to avoid calling cpumask_equal() when masks are the same.

This series follows up comments from here:

https://lore.kernel.org/lkml/ZqqV5OxZPHUgjhag@LeoBras/T/#md6b2b6bdd09e63740bbf010530211842a79b5f57


Yury Norov (2):
sched/topology: pre-compute topology_span_sane() loop params
sched/topology: optimize topology_span_sane()

kernel/sched/topology.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

--
2.43.0