Lines Matching refs:highest_zoneidx

3393 static bool pgdat_watermark_boosted(pg_data_t *pgdat, int highest_zoneidx)
3405 for (i = highest_zoneidx; i >= 0; i--) {
3419 * and highest_zoneidx
3421 static bool pgdat_balanced(pg_data_t *pgdat, int order, int highest_zoneidx)
3431 for (i = 0; i <= highest_zoneidx; i++) {
3438 if (zone_watermark_ok_safe(zone, order, mark, highest_zoneidx))
3443 * If a node has no populated zone within highest_zoneidx, it does not
3470 int highest_zoneidx)
3492 if (pgdat_balanced(pgdat, order, highest_zoneidx)) {
3560 static int balance_pgdat(pg_data_t *pgdat, int order, int highest_zoneidx)
3588 for (i = 0; i <= highest_zoneidx; i++) {
3606 sc.reclaim_idx = highest_zoneidx;
3636 balanced = pgdat_balanced(pgdat, sc.order, highest_zoneidx);
3736 for (i = 0; i <= highest_zoneidx; i++) {
3751 wakeup_kcompactd(pgdat, pageblock_order, highest_zoneidx);
3784 unsigned int highest_zoneidx)
3801 if (prepare_kswapd_sleep(pgdat, reclaim_order, highest_zoneidx)) {
3814 wakeup_kcompactd(pgdat, alloc_order, highest_zoneidx);
3826 highest_zoneidx));
3841 prepare_kswapd_sleep(pgdat, reclaim_order, highest_zoneidx)) {
3883 unsigned int highest_zoneidx = MAX_NR_ZONES - 1;
3915 highest_zoneidx = kswapd_highest_zoneidx(pgdat,
3916 highest_zoneidx);
3920 highest_zoneidx);
3922 /* Read the new order and highest_zoneidx */
3924 highest_zoneidx = kswapd_highest_zoneidx(pgdat,
3925 highest_zoneidx);
3948 trace_mm_vmscan_kswapd_wake(pgdat->node_id, highest_zoneidx,
3957 highest_zoneidx);
3978 enum zone_type highest_zoneidx)
3992 if (curr_idx == MAX_NR_ZONES || curr_idx < highest_zoneidx)
3993 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, highest_zoneidx);
4003 (pgdat_balanced(pgdat, order, highest_zoneidx) &&
4004 !pgdat_watermark_boosted(pgdat, highest_zoneidx))) {
4013 wakeup_kcompactd(pgdat, order, highest_zoneidx);
4017 trace_mm_vmscan_wakeup_kswapd(pgdat->node_id, highest_zoneidx, order,