/linux/include/trace/events/ |
H A D | compaction.h | 312 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx), 314 TP_ARGS(nid, order, highest_zoneidx), 319 __field(enum zone_type, highest_zoneidx) 325 __entry->highest_zoneidx = highest_zoneidx; 335 __print_symbolic(__entry->highest_zoneidx, ZONE_TYPE)) 340 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx), 342 TP_ARGS(nid, order, highest_zoneidx) 347 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx), 349 TP_ARGS(nid, order, highest_zoneidx)
|
/linux/include/linux/ |
H A D | compaction.h | 98 int highest_zoneidx); 108 extern void wakeup_kcompactd(pg_data_t *pgdat, int order, int highest_zoneidx); 116 int highest_zoneidx) in compaction_suitable() argument 129 int order, int highest_zoneidx) in wakeup_kcompactd() argument
|
/linux/mm/ |
H A D | mmzone.c | 57 enum zone_type highest_zoneidx, in __next_zones_zonelist() argument 65 while (zonelist_zone_idx(z) > highest_zoneidx) in __next_zones_zonelist() 68 while (zonelist_zone_idx(z) > highest_zoneidx || in __next_zones_zonelist()
|
H A D | compaction.c | 2384 int highest_zoneidx, in __compaction_suitable() argument 2405 return __zone_watermark_ok(zone, 0, watermark, highest_zoneidx, in __compaction_suitable() 2412 bool compaction_suitable(struct zone *zone, int order, int highest_zoneidx) in compaction_suitable() argument 2417 suitable = __compaction_suitable(zone, order, highest_zoneidx, in compaction_suitable() 2466 ac->highest_zoneidx, ac->nodemask) { in compaction_zonelist_suitable() 2477 if (__compaction_suitable(zone, order, ac->highest_zoneidx, in compaction_zonelist_suitable() 2494 int highest_zoneidx, unsigned int alloc_flags, in compaction_suit_allocation_order() argument 2500 if (zone_watermark_ok(zone, order, watermark, highest_zoneidx, in compaction_suit_allocation_order() 2516 if (!__zone_watermark_ok(zone, 0, watermark, highest_zoneidx, in compaction_suit_allocation_order() 2521 if (!compaction_suitable(zone, order, highest_zoneidx)) in compaction_suit_allocation_order() [all …]
|
H A D | vmscan.c | 6667 static bool pgdat_watermark_boosted(pg_data_t *pgdat, int highest_zoneidx) in pgdat_watermark_boosted() argument 6679 for (i = highest_zoneidx; i >= 0; i--) { in pgdat_watermark_boosted() 6695 static bool pgdat_balanced(pg_data_t *pgdat, int order, int highest_zoneidx) in pgdat_balanced() argument 6705 for (i = 0; i <= highest_zoneidx; i++) { in pgdat_balanced() 6715 if (zone_watermark_ok_safe(zone, order, mark, highest_zoneidx)) in pgdat_balanced() 6748 int highest_zoneidx) in prepare_kswapd_sleep() argument 6770 if (pgdat_balanced(pgdat, order, highest_zoneidx)) { in prepare_kswapd_sleep() 6825 update_reclaim_active(pg_data_t *pgdat, int highest_zoneidx, bool active) in update_reclaim_active() argument 6830 for (i = 0; i <= highest_zoneidx; i++) { in update_reclaim_active() 6844 set_reclaim_active(pg_data_t *pgdat, int highest_zoneidx) in set_reclaim_active() argument [all …]
|
H A D | page_alloc.c | 2098 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, in unreserve_highatomic_pageblock() 3126 int highest_zoneidx, unsigned int alloc_flags, in __zone_watermark_ok() argument 3169 if (free_pages <= min + z->lowmem_reserve[highest_zoneidx]) in __zone_watermark_ok() 3204 int highest_zoneidx, unsigned int alloc_flags) in zone_watermark_ok() argument 3206 return __zone_watermark_ok(z, order, mark, highest_zoneidx, alloc_flags, in zone_watermark_ok() 3211 unsigned long mark, int highest_zoneidx, in zone_watermark_fast() argument 3231 if (usable_free > mark + z->lowmem_reserve[highest_zoneidx]) in zone_watermark_fast() 3235 if (__zone_watermark_ok(z, order, mark, highest_zoneidx, alloc_flags, in zone_watermark_fast() 3248 return __zone_watermark_ok(z, order, mark, highest_zoneidx, in zone_watermark_fast() 3256 unsigned long mark, int highest_zoneidx) in zone_watermark_ok_safe() argument [all …]
|
H A D | internal.h | 531 enum zone_type highest_zoneidx; member 811 const int highest_zoneidx; /* zone index of a direct compactor */ member
|
H A D | mempolicy.c | 1956 enum zone_type highest_zoneidx = gfp_zone(GFP_KERNEL); in mempolicy_slab_node() local 1958 z = first_zones_zonelist(zonelist, highest_zoneidx, in mempolicy_slab_node()
|
H A D | slub.c | 2882 enum zone_type highest_zoneidx = gfp_zone(pc->flags); in get_any_partial() local 2911 for_each_zone_zonelist(zone, z, zonelist, highest_zoneidx) { in get_any_partial()
|