Searched refs:kswapd_highest_zoneidx (Results 1 – 4 of 4) sorted by relevance
3132 if (READ_ONCE(pgdat->kswapd_highest_zoneidx) > ZONE_NORMAL) in allow_direct_reclaim()3133 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, ZONE_NORMAL); in allow_direct_reclaim()3775 static enum zone_type kswapd_highest_zoneidx(pg_data_t *pgdat, in kswapd_highest_zoneidx() function3778 enum zone_type curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx); in kswapd_highest_zoneidx()3824 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, in kswapd_try_to_sleep()3825 kswapd_highest_zoneidx(pgdat, in kswapd_try_to_sleep()3910 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, MAX_NR_ZONES); in kswapd()3915 highest_zoneidx = kswapd_highest_zoneidx(pgdat, in kswapd()3924 highest_zoneidx = kswapd_highest_zoneidx(pgdat, in kswapd()3927 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, MAX_NR_ZONES); in kswapd()[all …]
909 pgdat->kswapd_highest_zoneidx = 0; in hotadd_new_pgdat()
7241 WARN_ON(pgdat->nr_zones || pgdat->kswapd_highest_zoneidx); in free_area_init_node()
784 enum zone_type kswapd_highest_zoneidx; member