Home
last modified time | relevance | path

Searched refs:kswapd_highest_zoneidx (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dvmscan.c3132 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()
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, in kswapd_highest_zoneidx() function
3778 enum zone_type curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx); in kswapd_highest_zoneidx()
3819 * If woken prematurely then reset kswapd_highest_zoneidx and in kswapd_try_to_sleep()
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(pgda in kswapd()
[all...]
H A Dmemory_hotplug.c904 * Note that kswapd will init kswapd_highest_zoneidx properly in hotadd_new_pgdat()
909 pgdat->kswapd_highest_zoneidx = 0; in hotadd_new_pgdat()
H A Dpage_alloc.c7241 WARN_ON(pgdat->nr_zones || pgdat->kswapd_highest_zoneidx); in free_area_init_node()
/kernel/linux/linux-6.6/mm/
H A Dvmscan.c6956 if (READ_ONCE(pgdat->kswapd_highest_zoneidx) > ZONE_NORMAL) in allow_direct_reclaim()
6957 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, ZONE_NORMAL); in allow_direct_reclaim()
7632 * The pgdat->kswapd_highest_zoneidx is used to pass the highest zone index to
7638 static enum zone_type kswapd_highest_zoneidx(pg_data_t *pgdat, in kswapd_highest_zoneidx() function
7641 enum zone_type curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx); in kswapd_highest_zoneidx()
7682 * If woken prematurely then reset kswapd_highest_zoneidx and in kswapd_try_to_sleep()
7687 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, in kswapd_try_to_sleep()
7688 kswapd_highest_zoneidx(pgdat, in kswapd_try_to_sleep()
7770 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, MAX_NR_ZONES); in kswapd()
7776 highest_zoneidx = kswapd_highest_zoneidx(pgda in kswapd()
[all...]
H A Dmm_init.c1521 * Note that kswapd will init kswapd_highest_zoneidx properly in free_area_init_core_hotplug()
1526 pgdat->kswapd_highest_zoneidx = 0; in free_area_init_core_hotplug()
1725 WARN_ON(pgdat->nr_zones || pgdat->kswapd_highest_zoneidx); in free_area_init_node()
/kernel/linux/linux-5.10/include/linux/
H A Dmmzone.h784 enum zone_type kswapd_highest_zoneidx; member
/kernel/linux/linux-6.6/include/linux/
H A Dmmzone.h1349 enum zone_type kswapd_highest_zoneidx; member

Completed in 38 milliseconds