v2
2026-09-12
zonelist 构造重构 · v2
重构 find_next_best_node 为 find_next_best_node_in,并拆出 build_node_zonelist 供 zonelist 构造。
原始补丁链接
子 Patch(2)
1/2
mm: refactor find_next_best_node to find_next_best_node_in
[mm: refactor find_next_best_node to find_next_best_node_in] find_next_best_node() picks the next-closest node for a fallback list from the full N_MEMORY set. Refactor it into find_next_best_node_in()
2/2
mm/page_alloc: refactor build_node_zonelist() out of build_zonelists()
[mm/page_alloc: refactor build_node_zonelist() out of build_zonelists()] Extract per-node fallback-list construction into build_node_zonelist(). Build each selected node directly into the destination