Thread (21 messages) 21 messages, 6 authors, 2019-06-26

Re: [PATCH v3 2/2] mm: be more verbose about zonelist initialization

From: Michal Hocko <mhocko@kernel.org>
Date: 2019-02-13 11:50:18
Also in: linux-mm, lkml

On Wed 13-02-19 11:32:31, Peter Zijlstra wrote:
On Wed, Feb 13, 2019 at 10:43:15AM +0100, Michal Hocko wrote:
quoted
@@ -5259,6 +5261,11 @@ static void build_zonelists(pg_data_t *pgdat)
 
 	build_zonelists_in_node_order(pgdat, node_order, nr_nodes);
 	build_thisnode_zonelists(pgdat);
+
+	pr_info("node[%d] zonelist: ", pgdat->node_id);
+	for_each_zone_zonelist(zone, z, &pgdat->node_zonelists[ZONELIST_FALLBACK], MAX_NR_ZONES-1)
+		pr_cont("%d:%s ", zone_to_nid(zone), zone->name);
+	pr_cont("\n");
 }
Have you ran this by the SGI and other stupid large machine vendors?
I do not have such a large machine handy. The biggest I have has
handfull (say dozen) of NUMA nodes.
Traditionally they tend to want to remove such things instead of adding
them.
I do not insist on this patch but I find it handy. If there is an
opposition I will not miss it much.
-- 
Michal Hocko
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help