/linux/include/linux/ |
H A D | oom.h | 13 struct zonelist; 31 struct zonelist *zonelist; member
|
H A D | mmzone.h | 1226 struct zonelist { struct 1291 struct zonelist node_zonelists[MAX_ZONELISTS]; 1666 static inline struct zoneref *first_zones_zonelist(struct zonelist *zonelist, in first_zones_zonelist() argument 1670 return next_zones_zonelist(zonelist->_zonerefs, in first_zones_zonelist() 1713 struct zonelist *zonelist; in movable_only_nodes() local 1726 zonelist = &NODE_DATA(nid)->node_zonelists[ZONELIST_FALLBACK]; in movable_only_nodes() 1727 z = first_zones_zonelist(zonelist, ZONE_NORMAL, nodes); in movable_only_nodes()
|
H A D | swap.h | 402 extern unsigned long try_to_free_pages(struct zonelist *zonelist, int order,
|
H A D | gfp.h | 188 * one containing just zones from the node the zonelist belongs to. 193 static inline struct zonelist *node_zonelist(int nid, gfp_t flags)
|
/linux/Documentation/translations/zh_CN/mm/ |
H A D | numa.rst | 57 中的一个或多个]构建了一个有序的“区列表”。zonelist指定了当一个选定的区/节点不能满足分配请求 63 代表了相对稀缺的资源。Linux选择了一个默认的Node ordered zonelist。这意味着在使用按NUMA距
|
/linux/Documentation/mm/ |
H A D | numa.rst | 74 an ordered "zonelist". A zonelist specifies the zones/nodes to visit when a 84 a default Node ordered zonelist. This means it tries to fallback to other zones 89 Linux will attempt to allocate from the first node in the appropriate zonelist 92 nodes' zones in the selected zonelist looking for the first zone in the list 120 zonelist--will not be the node itself. Rather, it will be the node that the
|
/linux/mm/ |
H A D | page_alloc.c | 2008 struct zonelist *zonelist = ac->zonelist; in __rmqueue_fallback() 2016 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, in __rmqueue_fallback() 3257 * get_page_from_freelist goes through the zonelist trying to allocate in get_page_from_freelist() 3272 * Scan zonelist, looking for a zone with enough free. in get_page_from_freelist() 3509 .zonelist = ac->zonelist, 3530 * Go through the zonelist yet one more time, keep very high watermark in __alloc_pages_direct_compact() 3751 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in check_retry_zonelist() 1926 struct zonelist *zonelist = ac->zonelist; unreserve_highatomic_pageblock() local 4927 struct zonelist *zonelist = node_zonelist(numa_node_id(), GFP_KERNEL); nr_free_zone_pages() local 6530 struct zonelist *zonelist; alloc_contig_pages() local [all...] |
H A D | vmscan.c | 6089 static void shrink_zones(struct zonelist *zonelist, struct scan_control *sc) in shrink_zones() 6110 for_each_zone_zonelist_nodemask(zone, z, zonelist, in shrink_zones() 6138 * Shrink each node in the zonelist once. If the in shrink_zones() 6139 * zonelist is ordered by zone (not the default) then a in shrink_zones() 6212 static unsigned long do_try_to_free_pages(struct zonelist *zonelist, in do_try_to_free_pages() 6230 shrink_zones(zonelist, sc); in do_try_to_free_pages() 6247 for_each_zone_zonelist_nodemask(zone, z, zonelist, sc->reclaim_idx, in do_try_to_free_pages() 6350 static bool throttle_direct_reclaim(gfp_t gfp_mask, struct zonelist *zonelis in throttle_direct_reclaim() 6073 shrink_zones(struct zonelist * zonelist,struct scan_control * sc) shrink_zones() argument 6196 do_try_to_free_pages(struct zonelist * zonelist,struct scan_control * sc) do_try_to_free_pages() argument 6334 throttle_direct_reclaim(gfp_t gfp_mask,struct zonelist * zonelist,nodemask_t * nodemask) throttle_direct_reclaim() argument 6414 try_to_free_pages(struct zonelist * zonelist,int order,gfp_t gfp_mask,nodemask_t * nodemask) try_to_free_pages() argument 6523 struct zonelist *zonelist = node_zonelist(numa_node_id(), sc.gfp_mask); try_to_free_mem_cgroup_pages() local 7248 struct zonelist *zonelist = node_zonelist(numa_node_id(), sc.gfp_mask); shrink_all_memory() local [all...] |
H A D | oom_kill.c | 271 if (!oc->zonelist) in constrained_alloc() 295 for_each_zone_zonelist_nodemask(zone, z, oc->zonelist, in constrained_alloc()
|
H A D | mm_init.c | 53 struct zonelist *zonelist; in mminit_verify_zonelist() 62 zonelist = &pgdat->node_zonelists[listid]; in mminit_verify_zonelist() 67 /* Print information about the zonelist */ in mminit_verify_zonelist() 68 printk(KERN_DEBUG "mminit::zonelist %s %d:%s = ", in mminit_verify_zonelist() 72 /* Iterate the zonelist */ in mminit_verify_zonelist() 73 for_each_zone_zonelist(zone, z, zonelist, zoneid) in mminit_verify_zonelist() 52 struct zonelist *zonelist; mminit_verify_zonelist() local
|
H A D | internal.h | 434 struct zonelist *zonelist; member
|
H A D | mempolicy.c | 1951 struct zonelist *zonelist; in mempolicy_slab_node() 1953 zonelist = &NODE_DATA(node)->node_zonelists[ZONELIST_FALLBACK]; in mempolicy_slab_node() 1954 z = first_zones_zonelist(zonelist, highest_zoneidx, in mempolicy_slab_node() 2101 * to the mempolicy's @nodemask for filtering the zonelist. 1950 struct zonelist *zonelist; mempolicy_slab_node() local
|
H A D | compaction.c | 2485 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in compaction_zonelist_suitable() 2845 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in try_to_compact_pages()
|
H A D | hugetlb.c | 1353 struct zonelist *zonelist; in dequeue_hugetlb_folio_nodemask() local 1358 zonelist = node_zonelist(nid, gfp_mask); in dequeue_hugetlb_folio_nodemask() 1362 for_each_zone_zonelist_nodemask(zone, z, zonelist, gfp_zone(gfp_mask), nmask) { in dequeue_hugetlb_folio_nodemask()
|
H A D | slub.c | 2720 struct zonelist *zonelist; in get_partial() 2751 zonelist = node_zonelist(mempolicy_slab_node(), pc->flags); in tid_to_event() 2752 for_each_zone_zonelist(zone, z, zonelist, highest_zoneidx) { in tid_to_event() 2646 struct zonelist *zonelist; get_any_partial() local
|
H A D | memcontrol.c | 1957 .zonelist = NULL, in mem_cgroup_unmark_under_oom()
|
/linux/drivers/tty/ |
H A D | sysrq.c | 389 .zonelist = node_zonelist(first_memory_node, gfp_mask), in moom_callback()
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | vm.rst | 664 In non-NUMA case, a zonelist for GFP_KERNEL is ordered as following. 670 Assume 2 node NUMA and below is zonelist of Node(0)'s GFP_KERNEL::
|
/linux/Documentation/admin-guide/mm/ |
H A D | numa_memory_policy.rst | 234 node zonelist.
|
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 4190 numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA.
|