Lines Matching refs:kswapd_highest_zoneidx
6511 if (READ_ONCE(pgdat->kswapd_highest_zoneidx) > ZONE_NORMAL)
6512 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, ZONE_NORMAL);
7212 * The pgdat->kswapd_highest_zoneidx is used to pass the highest zone index to
7218 static enum zone_type kswapd_highest_zoneidx(pg_data_t *pgdat,
7221 enum zone_type curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx);
7262 * If woken prematurely then reset kswapd_highest_zoneidx and
7267 WRITE_ONCE(pgdat->kswapd_highest_zoneidx,
7268 kswapd_highest_zoneidx(pgdat,
7346 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, MAX_NR_ZONES);
7352 highest_zoneidx = kswapd_highest_zoneidx(pgdat,
7361 highest_zoneidx = kswapd_highest_zoneidx(pgdat,
7364 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, MAX_NR_ZONES);
7417 curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx);
7420 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, highest_zoneidx);