Home
last modified time | relevance | path

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

/Linux-v4.19/include/trace/events/
Dvmscan.h108 TP_PROTO(int order, int may_writepage, gfp_t gfp_flags, int classzone_idx),
110 TP_ARGS(order, may_writepage, gfp_flags, classzone_idx),
116 __field( int, classzone_idx )
123 __entry->classzone_idx = classzone_idx;
130 __entry->classzone_idx)
135 TP_PROTO(int order, int may_writepage, gfp_t gfp_flags, int classzone_idx),
137 TP_ARGS(order, may_writepage, gfp_flags, classzone_idx)
143 TP_PROTO(int order, int may_writepage, gfp_t gfp_flags, int classzone_idx),
145 TP_ARGS(order, may_writepage, gfp_flags, classzone_idx)
150 TP_PROTO(int order, int may_writepage, gfp_t gfp_flags, int classzone_idx),
[all …]
Dcompaction.h320 TP_PROTO(int nid, int order, enum zone_type classzone_idx),
322 TP_ARGS(nid, order, classzone_idx),
327 __field(enum zone_type, classzone_idx)
333 __entry->classzone_idx = classzone_idx;
339 __print_symbolic(__entry->classzone_idx, ZONE_TYPE))
344 TP_PROTO(int nid, int order, enum zone_type classzone_idx),
346 TP_ARGS(nid, order, classzone_idx)
351 TP_PROTO(int nid, int order, enum zone_type classzone_idx),
353 TP_ARGS(nid, order, classzone_idx)
/Linux-v4.19/include/linux/
Dcompaction.h101 unsigned int alloc_flags, int classzone_idx);
179 extern void wakeup_kcompactd(pg_data_t *pgdat, int order, int classzone_idx);
187 int alloc_flags, int classzone_idx) in compaction_suitable() argument
224 static inline void wakeup_kcompactd(pg_data_t *pgdat, int order, int classzone_idx) in wakeup_kcompactd() argument
Dmmzone.h752 enum zone_type classzone_idx);
754 int classzone_idx, unsigned int alloc_flags,
757 unsigned long mark, int classzone_idx,
760 unsigned long mark, int classzone_idx);
/Linux-v4.19/mm/
Dcompaction.c1425 int classzone_idx, in __compaction_suitable() argument
1438 if (zone_watermark_ok(zone, order, watermark, classzone_idx, in __compaction_suitable()
1459 if (!__zone_watermark_ok(zone, 0, watermark, classzone_idx, in __compaction_suitable()
1468 int classzone_idx) in compaction_suitable() argument
1473 ret = __compaction_suitable(zone, order, alloc_flags, classzone_idx, in compaction_suitable()
1545 cc->classzone_idx); in compact_zone()
1702 unsigned int alloc_flags, int classzone_idx) in compact_zone_order() argument
1716 .classzone_idx = classzone_idx, in compact_zone_order()
1924 enum zone_type classzone_idx = pgdat->kcompactd_classzone_idx; in kcompactd_node_suitable() local
1926 for (zoneid = 0; zoneid <= classzone_idx; zoneid++) { in kcompactd_node_suitable()
[all …]
Dvmscan.c3367 static bool pgdat_balanced(pg_data_t *pgdat, int order, int classzone_idx) in pgdat_balanced() argument
3373 for (i = 0; i <= classzone_idx; i++) { in pgdat_balanced()
3380 if (zone_watermark_ok_safe(zone, order, mark, classzone_idx)) in pgdat_balanced()
3409 static bool prepare_kswapd_sleep(pg_data_t *pgdat, int order, int classzone_idx) in prepare_kswapd_sleep() argument
3431 if (pgdat_balanced(pgdat, order, classzone_idx)) { in prepare_kswapd_sleep()
3495 static int balance_pgdat(pg_data_t *pgdat, int order, int classzone_idx) in balance_pgdat() argument
3519 sc.reclaim_idx = classzone_idx; in balance_pgdat()
3547 if (pgdat_balanced(pgdat, sc.order, classzone_idx)) in balance_pgdat()
3628 enum zone_type classzone_idx) in kswapd_classzone_idx() argument
3631 return classzone_idx; in kswapd_classzone_idx()
[all …]
Dinternal.h198 const int classzone_idx; /* zone index of a direct compactor */ member
Dpage_alloc.c3109 int classzone_idx, unsigned int alloc_flags, in __zone_watermark_ok() argument
3154 if (free_pages <= min + z->lowmem_reserve[classzone_idx]) in __zone_watermark_ok()
3188 int classzone_idx, unsigned int alloc_flags) in zone_watermark_ok() argument
3190 return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags, in zone_watermark_ok()
3195 unsigned long mark, int classzone_idx, unsigned int alloc_flags) in zone_watermark_fast() argument
3213 if (!order && (free_pages - cma_pages) > mark + z->lowmem_reserve[classzone_idx]) in zone_watermark_fast()
3216 return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags, in zone_watermark_fast()
3221 unsigned long mark, int classzone_idx) in zone_watermark_ok_safe() argument
3228 return __zone_watermark_ok(z, order, mark, classzone_idx, 0, in zone_watermark_ok_safe()