• Home
  • Raw
  • Download

Lines Matching refs:highest_zoneidx

3490 static bool pgdat_watermark_boosted(pg_data_t *pgdat, int highest_zoneidx)  in pgdat_watermark_boosted()  argument
3502 for (i = highest_zoneidx; i >= 0; i--) { in pgdat_watermark_boosted()
3518 static bool pgdat_balanced(pg_data_t *pgdat, int order, int highest_zoneidx) in pgdat_balanced() argument
3528 for (i = 0; i <= highest_zoneidx; i++) { in pgdat_balanced()
3535 if (zone_watermark_ok_safe(zone, order, mark, highest_zoneidx)) in pgdat_balanced()
3567 int highest_zoneidx) in prepare_kswapd_sleep() argument
3589 if (pgdat_balanced(pgdat, order, highest_zoneidx)) { in prepare_kswapd_sleep()
3653 static int balance_pgdat(pg_data_t *pgdat, int order, int highest_zoneidx) in balance_pgdat() argument
3681 for (i = 0; i <= highest_zoneidx; i++) { in balance_pgdat()
3699 sc.reclaim_idx = highest_zoneidx; in balance_pgdat()
3729 balanced = pgdat_balanced(pgdat, sc.order, highest_zoneidx); in balance_pgdat()
3829 for (i = 0; i <= highest_zoneidx; i++) { in balance_pgdat()
3844 wakeup_kcompactd(pgdat, pageblock_order, highest_zoneidx); in balance_pgdat()
3877 unsigned int highest_zoneidx) in kswapd_try_to_sleep() argument
3894 if (prepare_kswapd_sleep(pgdat, reclaim_order, highest_zoneidx)) { in kswapd_try_to_sleep()
3907 wakeup_kcompactd(pgdat, alloc_order, highest_zoneidx); in kswapd_try_to_sleep()
3919 highest_zoneidx)); in kswapd_try_to_sleep()
3934 prepare_kswapd_sleep(pgdat, reclaim_order, highest_zoneidx)) { in kswapd_try_to_sleep()
3976 unsigned int highest_zoneidx = MAX_NR_ZONES - 1; in kswapd() local
4005 highest_zoneidx = kswapd_highest_zoneidx(pgdat, in kswapd()
4006 highest_zoneidx); in kswapd()
4010 highest_zoneidx); in kswapd()
4014 highest_zoneidx = kswapd_highest_zoneidx(pgdat, in kswapd()
4015 highest_zoneidx); in kswapd()
4038 trace_mm_vmscan_kswapd_wake(pgdat->node_id, highest_zoneidx, in kswapd()
4041 highest_zoneidx); in kswapd()
4042 trace_android_vh_vmscan_kswapd_done(pgdat->node_id, highest_zoneidx, in kswapd()
4101 enum zone_type highest_zoneidx) in wakeup_kswapd() argument
4115 if (curr_idx == MAX_NR_ZONES || curr_idx < highest_zoneidx) in wakeup_kswapd()
4116 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, highest_zoneidx); in wakeup_kswapd()
4126 (pgdat_balanced(pgdat, order, highest_zoneidx) && in wakeup_kswapd()
4127 !pgdat_watermark_boosted(pgdat, highest_zoneidx))) { in wakeup_kswapd()
4136 wakeup_kcompactd(pgdat, order, highest_zoneidx); in wakeup_kswapd()
4140 trace_mm_vmscan_wakeup_kswapd(pgdat->node_id, highest_zoneidx, order, in wakeup_kswapd()