Searched refs:highest_zoneidx (Results 1 - 12 of 12) sorted by relevance

/linux-master/include/linux/
H A Dcompaction.h93 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 Dmmzone.h1435 enum zone_type highest_zoneidx);
1437 int highest_zoneidx, unsigned int alloc_flags,
1440 unsigned long mark, int highest_zoneidx,
1443 unsigned long mark, int highest_zoneidx);
1622 enum zone_type highest_zoneidx,
1626 * 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
1628 * @highest_zoneidx: The zone index of the highest zone to return
1637 * Return: the next zone at or below highest_zoneidx within the allowed
1641 enum zone_type highest_zoneidx,
1644 if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
1640 next_zones_zonelist(struct zoneref *z, enum zone_type highest_zoneidx, nodemask_t *nodes) argument
1666 first_zones_zonelist(struct zonelist *zonelist, enum zone_type highest_zoneidx, nodemask_t *nodes) argument
[all...]
/linux-master/mm/
H A Dmmzone.c55 /* 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 Dcompaction.c2404 int highest_zoneidx,
2414 * isolation. We however do use the direct compactor's highest_zoneidx
2425 return __zone_watermark_ok(zone, 0, watermark, highest_zoneidx,
2432 bool compaction_suitable(struct zone *zone, int order, int highest_zoneidx) argument
2437 suitable = __compaction_suitable(zone, order, highest_zoneidx,
2486 ac->highest_zoneidx, ac->nodemask) {
2497 if (__compaction_suitable(zone, order, ac->highest_zoneidx,
2514 int highest_zoneidx, unsigned int alloc_flags)
2519 if (zone_watermark_ok(zone, order, watermark, highest_zoneidx,
2523 if (!compaction_suitable(zone, order, highest_zoneidx))
2403 __compaction_suitable(struct zone *zone, int order, int highest_zoneidx, unsigned long wmark_target) argument
2513 compaction_suit_allocation_order(struct zone *zone, unsigned int order, int highest_zoneidx, unsigned int alloc_flags) argument
2766 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
3045 enum zone_type highest_zoneidx = pgdat->kcompactd_highest_zoneidx; local
3142 wakeup_kcompactd(pg_data_t *pgdat, int order, int highest_zoneidx) argument
[all...]
H A Dvmscan.c6581 static bool pgdat_watermark_boosted(pg_data_t *pgdat, int highest_zoneidx) argument
6593 for (i = highest_zoneidx; i >= 0; i--) {
6607 * and highest_zoneidx
6609 static bool pgdat_balanced(pg_data_t *pgdat, int order, int highest_zoneidx) argument
6619 for (i = 0; i <= highest_zoneidx; i++) {
6629 if (zone_watermark_ok_safe(zone, order, mark, highest_zoneidx))
6634 * If a node has no managed zone within highest_zoneidx, it does not
6662 int highest_zoneidx)
6684 if (pgdat_balanced(pgdat, order, highest_zoneidx)) {
6737 update_reclaim_active(pg_data_t *pgdat, int highest_zoneidx, boo argument
6661 prepare_kswapd_sleep(pg_data_t *pgdat, int order, int highest_zoneidx) argument
6756 set_reclaim_active(pg_data_t *pgdat, int highest_zoneidx) argument
6762 clear_reclaim_active(pg_data_t *pgdat, int highest_zoneidx) argument
6780 balance_pgdat(pg_data_t *pgdat, int order, int highest_zoneidx) argument
7016 kswapd_try_to_sleep(pg_data_t *pgdat, int alloc_order, int reclaim_order, unsigned int highest_zoneidx) argument
7116 unsigned int highest_zoneidx = MAX_NR_ZONES - 1; local
7198 wakeup_kswapd(struct zone *zone, gfp_t gfp_flags, int order, enum zone_type highest_zoneidx) argument
[all...]
H A Dpage_alloc.c2025 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx,
3067 int highest_zoneidx, unsigned int alloc_flags,
3110 if (free_pages <= min + z->lowmem_reserve[highest_zoneidx])
3145 int highest_zoneidx, unsigned int alloc_flags)
3147 return __zone_watermark_ok(z, order, mark, highest_zoneidx, alloc_flags,
3152 unsigned long mark, int highest_zoneidx,
3172 if (usable_free > mark + z->lowmem_reserve[highest_zoneidx])
3176 if (__zone_watermark_ok(z, order, mark, highest_zoneidx, alloc_flags,
3189 return __zone_watermark_ok(z, order, mark, highest_zoneidx,
3197 unsigned long mark, int highest_zoneidx)
3066 __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, int highest_zoneidx, unsigned int alloc_flags, long free_pages) argument
3144 zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, int highest_zoneidx, unsigned int alloc_flags) argument
3151 zone_watermark_fast(struct zone *z, unsigned int order, unsigned long mark, int highest_zoneidx, unsigned int alloc_flags, gfp_t gfp_mask) argument
3196 zone_watermark_ok_safe(struct zone *z, unsigned int order, unsigned long mark, int highest_zoneidx) argument
3929 enum zone_type highest_zoneidx = ac->highest_zoneidx; local
[all...]
H A Doom_kill.c256 enum zone_type highest_zoneidx = gfp_zone(oc->gfp_mask); local
296 highest_zoneidx, oc->nodemask)
H A Dinternal.h425 * nodemask, migratetype and highest_zoneidx are initialized only once in
428 * zonelist, preferred_zone and highest_zoneidx are set first in
440 * highest_zoneidx represents highest usable zone index of
442 * memory on lower zone than the highest_zoneidx will be
443 * protected by lowmem_reserve[highest_zoneidx].
445 * highest_zoneidx is also used by reclaim/compaction to limit
449 enum zone_type highest_zoneidx;
699 const int highest_zoneidx; /* zone index of a direct compactor */
H A Dmempolicy.c1952 enum zone_type highest_zoneidx = gfp_zone(GFP_KERNEL); local
1954 z = first_zones_zonelist(zonelist, highest_zoneidx,
H A Dslub.c2724 enum zone_type highest_zoneidx = gfp_zone(pc->flags); local
2753 for_each_zone_zonelist(zone, z, zonelist, highest_zoneidx) {
/linux-master/include/trace/events/
H A Dcompaction.h312 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 Dvmscan.h282 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,

Completed in 586 milliseconds