v1
2026-09-03
mm: refactor zonelist constructors and iterators · v1
重构find_next_best_node和build_zonelists,使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()
Extract per-node fallback-list construction into build_node_zonelist(). This lets us build new zonelists from candidate nodemasks instead of just the default N_MEMORY node state list. No functional