[PATCH] dbg: show sched_numa_topology_type

From: Huang Ying
Date: Wed Jan 12 2022 - 20:53:15 EST


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

diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index d201a7052a29..9d92191fd62d 100644
--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
@@ -1914,6 +1914,10 @@ void sched_init_numa(void)

init_numa_topology_type();

+ pr_info("sched_numa_topology_type: %d, levels: %d, max_distance: %d\n",
+ sched_numa_topology_type, sched_domains_numa_levels,
+ sched_max_numa_distance);
+
sched_numa_onlined_nodes = bitmap_alloc(nr_node_ids, GFP_KERNEL);
if (!sched_numa_onlined_nodes)
return;
--
2.30.2