[PATCH] dbg: restore sd->imb_numa_nr

From: Huang Ying
Date: Tue Mar 08 2022 - 21:45:18 EST


---
kernel/sched/topology.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index 5e05fb7a817b..c348747e4166 100644
--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
@@ -2351,6 +2351,10 @@ build_sched_domains(const struct cpumask *cpu_map, struct sched_domain_attr *att
sd->name, imb, factor, sd->imb_numa_nr);
#endif
}
+#ifdef CONFIG_SCHED_DEBUG
+ if (!strcmp(sd->name, "NUMA"))
+ sd->imb_numa_nr = 24;
+#endif
}
}

--
2.30.2

I haven't researched much about the influence of sd->imb_numa_nr. But
it seems that commit 0fb3978b0a just follows the behavior of a normal 2
sockets (2 LLCs) machine. This is intended. So the regression report
isn't important for the commit itself.

About the impact of sd->imb_numa_nr, we will continue work on that.

Best Regards,
Huang, Ying