Home
last modified time | relevance | path

Searched refs:classzone_idx (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/include/trace/events/
Dcompaction.h317 TP_PROTO(int nid, int order, enum zone_type classzone_idx),
319 TP_ARGS(nid, order, classzone_idx),
324 __field(enum zone_type, classzone_idx)
330 __entry->classzone_idx = classzone_idx;
336 __print_symbolic(__entry->classzone_idx, ZONE_TYPE))
341 TP_PROTO(int nid, int order, enum zone_type classzone_idx),
343 TP_ARGS(nid, order, classzone_idx)
348 TP_PROTO(int nid, int order, enum zone_type classzone_idx),
350 TP_ARGS(nid, order, classzone_idx)
Dvmscan.h268 TP_PROTO(int classzone_idx,
277 TP_ARGS(classzone_idx, order, nr_requested, nr_scanned, nr_skipped, nr_taken, isolate_mode, lru),
280 __field(int, classzone_idx)
291 __entry->classzone_idx = classzone_idx;
303 __entry->classzone_idx,
/Linux-v5.4/include/linux/
Dcompaction.h100 unsigned int alloc_flags, int classzone_idx);
185 extern void wakeup_kcompactd(pg_data_t *pgdat, int order, int classzone_idx);
193 int alloc_flags, int classzone_idx) in compaction_suitable() argument
235 static inline void wakeup_kcompactd(pg_data_t *pgdat, int order, int classzone_idx) in wakeup_kcompactd() argument
Dmmzone.h815 enum zone_type classzone_idx);
817 int classzone_idx, unsigned int alloc_flags,
820 unsigned long mark, int classzone_idx,
823 unsigned long mark, int classzone_idx);
/Linux-v5.4/mm/
Dvmscan.c3415 static bool pgdat_watermark_boosted(pg_data_t *pgdat, int classzone_idx) in pgdat_watermark_boosted() argument
3427 for (i = classzone_idx; i >= 0; i--) { in pgdat_watermark_boosted()
3443 static bool pgdat_balanced(pg_data_t *pgdat, int order, int classzone_idx) in pgdat_balanced() argument
3453 for (i = 0; i <= classzone_idx; i++) { in pgdat_balanced()
3460 if (zone_watermark_ok_safe(zone, order, mark, classzone_idx)) in pgdat_balanced()
3489 static bool prepare_kswapd_sleep(pg_data_t *pgdat, int order, int classzone_idx) in prepare_kswapd_sleep() argument
3511 if (pgdat_balanced(pgdat, order, classzone_idx)) { in prepare_kswapd_sleep()
3575 static int balance_pgdat(pg_data_t *pgdat, int order, int classzone_idx) in balance_pgdat() argument
3603 for (i = 0; i <= classzone_idx; i++) { in balance_pgdat()
3621 sc.reclaim_idx = classzone_idx; in balance_pgdat()
[all …]
Dcompaction.c1960 int classzone_idx, in __compaction_suitable() argument
1973 if (zone_watermark_ok(zone, order, watermark, classzone_idx, in __compaction_suitable()
1994 if (!__zone_watermark_ok(zone, 0, watermark, classzone_idx, in __compaction_suitable()
2003 int classzone_idx) in compaction_suitable() argument
2008 ret = __compaction_suitable(zone, order, alloc_flags, classzone_idx, in compaction_suitable()
2094 cc->classzone_idx); in compact_zone()
2290 unsigned int alloc_flags, int classzone_idx, in compact_zone_order() argument
2302 .classzone_idx = classzone_idx, in compact_zone_order()
2504 enum zone_type classzone_idx = pgdat->kcompactd_classzone_idx; in kcompactd_node_suitable() local
2506 for (zoneid = 0; zoneid <= classzone_idx; zoneid++) { in kcompactd_node_suitable()
[all …]
Dinternal.h197 const int classzone_idx; /* zone index of a direct compactor */ member
Dpage_alloc.c3402 int classzone_idx, unsigned int alloc_flags, in __zone_watermark_ok() argument
3447 if (free_pages <= min + z->lowmem_reserve[classzone_idx]) in __zone_watermark_ok()
3481 int classzone_idx, unsigned int alloc_flags) in zone_watermark_ok() argument
3483 return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags, in zone_watermark_ok()
3488 unsigned long mark, int classzone_idx, unsigned int alloc_flags) in zone_watermark_fast() argument
3506 if (!order && (free_pages - cma_pages) > mark + z->lowmem_reserve[classzone_idx]) in zone_watermark_fast()
3509 return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags, in zone_watermark_fast()
3514 unsigned long mark, int classzone_idx) in zone_watermark_ok_safe() argument
3521 return __zone_watermark_ok(z, order, mark, classzone_idx, 0, in zone_watermark_ok_safe()