Searched refs:reclaim_order (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/mm/ |
D | vmscan.c | 4310 static void kswapd_try_to_sleep(pg_data_t *pgdat, int alloc_order, int reclaim_order, in kswapd_try_to_sleep() argument 4328 if (prepare_kswapd_sleep(pgdat, reclaim_order, highest_zoneidx)) { in kswapd_try_to_sleep() 4355 if (READ_ONCE(pgdat->kswapd_order) < reclaim_order) in kswapd_try_to_sleep() 4356 WRITE_ONCE(pgdat->kswapd_order, reclaim_order); in kswapd_try_to_sleep() 4368 prepare_kswapd_sleep(pgdat, reclaim_order, highest_zoneidx)) { in kswapd_try_to_sleep() 4409 unsigned int alloc_order, reclaim_order; in kswapd() local 4439 alloc_order = reclaim_order = READ_ONCE(pgdat->kswapd_order); in kswapd() 4444 kswapd_try_to_sleep(pgdat, alloc_order, reclaim_order, in kswapd() 4475 reclaim_order = balance_pgdat(pgdat, alloc_order, in kswapd() 4477 if (reclaim_order < alloc_order) in kswapd()
|