| /linux/Documentation/translations/zh_CN/mm/ |
| H A D | numa.rst | 57 中的一个或多个]构建了一个有序的“区列表”。zonelist指定了当一个选定的区/节点不能满足分配请求 63 代表了相对稀缺的资源。Linux选择了一个默认的Node ordered zonelist。这意味着在使用按NUMA距
|
| /linux/include/linux/ |
| H A D | mmzone.h | 1434 struct zonelist { struct 1491 struct zonelist node_zonelists[MAX_ZONELISTS]; 1874 static inline struct zoneref *first_zones_zonelist(struct zonelist *zonelist, in first_zones_zonelist() argument 1878 return next_zones_zonelist(zonelist->_zonerefs, in first_zones_zonelist() 1921 struct zonelist *zonelist; in movable_only_nodes() local 1934 zonelist = &NODE_DATA(nid)->node_zonelists[ZONELIST_FALLBACK]; in movable_only_nodes() 1935 z = first_zones_zonelist(zonelist, ZONE_NORMAL, nodes); in movable_only_nodes()
|
| /linux/mm/ |
| H A D | page_alloc.c | 3499 struct zonelist *zonelist = ac->zonelist; in unreserve_highatomic_pageblock() local 3506 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, in unreserve_highatomic_pageblock() 4048 .zonelist = ac->zonelist, in __alloc_pages_may_oom() 4343 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in should_compact_retry() 4451 progress = try_to_free_pages(ac->zonelist, order, gfp_mask, in __perform_reclaim() 4516 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, highest_zoneidx, in wake_all_kswapds() 4668 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in should_reclaim_retry() 4857 ac->preferred_zoneref = first_zones_zonelist(ac->zonelist, in __alloc_pages_slowpath() 4868 struct zoneref *z = first_zones_zonelist(ac->zonelist, in __alloc_pages_slowpath() 4900 ac->preferred_zoneref = first_zones_zonelist(ac->zonelist, in __alloc_pages_slowpath() [all …]
|
| H A D | vmscan.c | 6424 static void shrink_zones(struct zonelist *zonelist, struct scan_control *sc) in shrink_zones() argument 6445 for_each_zone_zonelist_nodemask(zone, z, zonelist, in shrink_zones() 6547 static unsigned long do_try_to_free_pages(struct zonelist *zonelist, in do_try_to_free_pages() argument 6565 shrink_zones(zonelist, sc); in do_try_to_free_pages() 6575 for_each_zone_zonelist_nodemask(zone, z, zonelist, sc->reclaim_idx, in do_try_to_free_pages() 6689 static bool throttle_direct_reclaim(gfp_t gfp_mask, struct zonelist *zonelist, in throttle_direct_reclaim() argument 6727 for_each_zone_zonelist_nodemask(zone, z, zonelist, in throttle_direct_reclaim() 6769 unsigned long try_to_free_pages(struct zonelist *zonelist, int order, in try_to_free_pages() argument 6798 if (throttle_direct_reclaim(sc.gfp_mask, zonelist, nodemask)) in try_to_free_pages() 6804 nr_reclaimed = do_try_to_free_pages(zonelist, &sc); in try_to_free_pages() [all …]
|
| H A D | mm_init.c | 86 struct zonelist *zonelist; in mminit_verify_zonelist() local 94 zonelist = &pgdat->node_zonelists[listid]; in mminit_verify_zonelist() 105 for_each_zone_zonelist(zone, z, zonelist, zoneid) in mminit_verify_zonelist()
|
| H A D | internal.h | 70 unsigned long try_to_free_pages(struct zonelist *zonelist, int order,
|
| H A D | mempolicy.c | 2168 struct zonelist *zonelist; in mempolicy_slab_node() local 2170 zonelist = &NODE_DATA(node)->node_zonelists[ZONELIST_FALLBACK]; in mempolicy_slab_node() 2171 z = first_zones_zonelist(zonelist, highest_zoneidx, in mempolicy_slab_node()
|
| H A D | slub.c | 3954 struct zonelist *zonelist; in get_from_any_partial() local 3993 zonelist = node_zonelist(mempolicy_slab_node(), gfp_flags); in get_from_any_partial() 3994 for_each_zone_zonelist(zone, z, zonelist, highest_zoneidx) { in get_from_any_partial() 7342 struct zonelist *zonelist; in __refill_objects_any() 7356 zonelist = node_zonelist(mempolicy_slab_node(), gfp); in __refill_objects_any() 7357 for_each_zone_zonelist(zone, z, zonelist, highest_zoneidx) { in __refill_objects_any() 7341 struct zonelist *zonelist; __refill_objects_any() local
|
| H A D | hugetlb.c | 1284 struct zonelist *zonelist; in dequeue_hugetlb_folio_nodemask() local 1293 zonelist = node_zonelist(nid, gfp_mask); in dequeue_hugetlb_folio_nodemask() 1297 for_each_zone_zonelist_nodemask(zone, z, zonelist, gfp_zone(gfp_mask), nmask) { in dequeue_hugetlb_folio_nodemask()
|
| H A D | memcontrol.c | 1934 .zonelist = NULL, in mem_cgroup_out_of_memory()
|
| /linux/drivers/tty/ |
| H A D | sysrq.c | 389 .zonelist = node_zonelist(first_memory_node, gfp_mask), in moom_callback()
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 4788 numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA.
|