/linux-master/include/linux/ |
H A D | compaction.h | 93 int highest_zoneidx); 103 extern void wakeup_kcompactd(pg_data_t *pgdat, int order, int highest_zoneidx); 111 int highest_zoneidx) 124 int order, int highest_zoneidx) 110 compaction_suitable(struct zone *zone, int order, int highest_zoneidx) argument 123 wakeup_kcompactd(pg_data_t *pgdat, int order, int highest_zoneidx) argument
|
H A D | mmzone.h | 1432 enum zone_type highest_zoneidx); 1434 int highest_zoneidx, unsigned int alloc_flags, 1437 unsigned long mark, int highest_zoneidx, 1440 unsigned long mark, int highest_zoneidx); 1619 enum zone_type highest_zoneidx, 1623 * next_zones_zonelist - Returns the next zone at or below highest_zoneidx within the allowed nodemask using a cursor within a zonelist as a starting point 1625 * @highest_zoneidx: The zone index of the highest zone to return 1634 * Return: the next zone at or below highest_zoneidx within the allowed 1638 enum zone_type highest_zoneidx, 1641 if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) 1637 next_zones_zonelist(struct zoneref *z, enum zone_type highest_zoneidx, nodemask_t *nodes) argument 1663 first_zones_zonelist(struct zonelist *zonelist, enum zone_type highest_zoneidx, nodemask_t *nodes) argument [all...] |
/linux-master/mm/ |
H A D | mmzone.c | 55 /* Returns the next zone at or below highest_zoneidx in a zonelist */ 57 enum zone_type highest_zoneidx, 65 while (zonelist_zone_idx(z) > highest_zoneidx) 68 while (zonelist_zone_idx(z) > highest_zoneidx || 56 __next_zones_zonelist(struct zoneref *z, enum zone_type highest_zoneidx, nodemask_t *nodes) argument
|
H A D | compaction.c | 2399 int highest_zoneidx, 2409 * isolation. We however do use the direct compactor's highest_zoneidx 2420 return __zone_watermark_ok(zone, 0, watermark, highest_zoneidx, 2427 bool compaction_suitable(struct zone *zone, int order, int highest_zoneidx) argument 2432 suitable = __compaction_suitable(zone, order, highest_zoneidx, 2481 ac->highest_zoneidx, ac->nodemask) { 2492 if (__compaction_suitable(zone, order, ac->highest_zoneidx, 2509 int highest_zoneidx, unsigned int alloc_flags) 2514 if (zone_watermark_ok(zone, order, watermark, highest_zoneidx, 2518 if (!compaction_suitable(zone, order, highest_zoneidx)) 2398 __compaction_suitable(struct zone *zone, int order, int highest_zoneidx, unsigned long wmark_target) argument 2508 compaction_suit_allocation_order(struct zone *zone, unsigned int order, int highest_zoneidx, unsigned int alloc_flags) argument 2761 compact_zone_order(struct zone *zone, int order, gfp_t gfp_mask, enum compact_priority prio, unsigned int alloc_flags, int highest_zoneidx, struct page **capture) argument 3040 enum zone_type highest_zoneidx = pgdat->kcompactd_highest_zoneidx; local 3137 wakeup_kcompactd(pg_data_t *pgdat, int order, int highest_zoneidx) argument [all...] |
H A D | vmscan.c | 6565 static bool pgdat_watermark_boosted(pg_data_t *pgdat, int highest_zoneidx) argument 6577 for (i = highest_zoneidx; i >= 0; i--) { 6591 * and highest_zoneidx 6593 static bool pgdat_balanced(pg_data_t *pgdat, int order, int highest_zoneidx) argument 6603 for (i = 0; i <= highest_zoneidx; i++) { 6613 if (zone_watermark_ok_safe(zone, order, mark, highest_zoneidx)) 6618 * If a node has no managed zone within highest_zoneidx, it does not 6646 int highest_zoneidx) 6668 if (pgdat_balanced(pgdat, order, highest_zoneidx)) { 6721 update_reclaim_active(pg_data_t *pgdat, int highest_zoneidx, boo argument 6645 prepare_kswapd_sleep(pg_data_t *pgdat, int order, int highest_zoneidx) argument 6740 set_reclaim_active(pg_data_t *pgdat, int highest_zoneidx) argument 6746 clear_reclaim_active(pg_data_t *pgdat, int highest_zoneidx) argument 6764 balance_pgdat(pg_data_t *pgdat, int order, int highest_zoneidx) argument 7000 kswapd_try_to_sleep(pg_data_t *pgdat, int alloc_order, int reclaim_order, unsigned int highest_zoneidx) argument 7100 unsigned int highest_zoneidx = MAX_NR_ZONES - 1; local 7182 wakeup_kswapd(struct zone *zone, gfp_t gfp_flags, int order, enum zone_type highest_zoneidx) argument [all...] |
H A D | page_alloc.c | 1934 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, 2964 int highest_zoneidx, unsigned int alloc_flags, 3007 if (free_pages <= min + z->lowmem_reserve[highest_zoneidx]) 3042 int highest_zoneidx, unsigned int alloc_flags) 3044 return __zone_watermark_ok(z, order, mark, highest_zoneidx, alloc_flags, 3049 unsigned long mark, int highest_zoneidx, 3069 if (usable_free > mark + z->lowmem_reserve[highest_zoneidx]) 3073 if (__zone_watermark_ok(z, order, mark, highest_zoneidx, alloc_flags, 3086 return __zone_watermark_ok(z, order, mark, highest_zoneidx, 3094 unsigned long mark, int highest_zoneidx) 2963 __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, int highest_zoneidx, unsigned int alloc_flags, long free_pages) argument 3041 zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, int highest_zoneidx, unsigned int alloc_flags) argument 3048 zone_watermark_fast(struct zone *z, unsigned int order, unsigned long mark, int highest_zoneidx, unsigned int alloc_flags, gfp_t gfp_mask) argument 3093 zone_watermark_ok_safe(struct zone *z, unsigned int order, unsigned long mark, int highest_zoneidx) argument 3826 enum zone_type highest_zoneidx = ac->highest_zoneidx; local [all...] |
H A D | oom_kill.c | 256 enum zone_type highest_zoneidx = gfp_zone(oc->gfp_mask); local 296 highest_zoneidx, oc->nodemask)
|
H A D | internal.h | 328 * nodemask, migratetype and highest_zoneidx are initialized only once in 331 * zonelist, preferred_zone and highest_zoneidx are set first in 343 * highest_zoneidx represents highest usable zone index of 345 * memory on lower zone than the highest_zoneidx will be 346 * protected by lowmem_reserve[highest_zoneidx]. 348 * highest_zoneidx is also used by reclaim/compaction to limit 352 enum zone_type highest_zoneidx; member in struct:alloc_context 601 const int highest_zoneidx; /* zone index of a direct compactor */ member in struct:compact_control
|
H A D | mempolicy.c | 1951 enum zone_type highest_zoneidx = gfp_zone(GFP_KERNEL); local 1953 z = first_zones_zonelist(zonelist, highest_zoneidx,
|
H A D | slub.c | 2635 enum zone_type highest_zoneidx = gfp_zone(pc->flags); local 2664 for_each_zone_zonelist(zone, z, zonelist, highest_zoneidx) {
|
/linux-master/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; 329 * classzone_idx is previous name of the 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), [all...] |
H A D | vmscan.h | 282 TP_PROTO(int highest_zoneidx, 290 TP_ARGS(highest_zoneidx, order, nr_requested, nr_scanned, nr_skipped, nr_taken, lru), 293 __field(int, highest_zoneidx) 303 __entry->highest_zoneidx = highest_zoneidx; 313 * classzone is previous name of the highest_zoneidx. 317 __entry->highest_zoneidx,
|