Lines Matching defs:kswapd_highest_zoneidx
3132 if (READ_ONCE(pgdat->kswapd_highest_zoneidx) > ZONE_NORMAL)
3133 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, ZONE_NORMAL);
3769 * The pgdat->kswapd_highest_zoneidx is used to pass the highest zone index to
3775 static enum zone_type kswapd_highest_zoneidx(pg_data_t *pgdat,
3778 enum zone_type curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx);
3819 * If woken prematurely then reset kswapd_highest_zoneidx and
3824 WRITE_ONCE(pgdat->kswapd_highest_zoneidx,
3825 kswapd_highest_zoneidx(pgdat,
3910 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, MAX_NR_ZONES);
3915 highest_zoneidx = kswapd_highest_zoneidx(pgdat,
3924 highest_zoneidx = kswapd_highest_zoneidx(pgdat,
3927 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, MAX_NR_ZONES);
3990 curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx);
3993 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, highest_zoneidx);