Home
last modified time | relevance | path

Searched refs:zswap_max_pool_percent (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dzswap.c54 /* Pool limit was hit (see zswap_max_pool_percent) */
113 static unsigned int zswap_max_pool_percent = 20; variable
114 module_param_named(max_pool_percent, zswap_max_pool_percent, uint, 0644);
223 return totalram_pages() * zswap_max_pool_percent / 100 < in zswap_is_full()
230 zswap_max_pool_percent / 100 > in zswap_can_accept()
/kernel/linux/linux-6.6/mm/
H A Dzswap.c58 /* Pool limit was hit (see zswap_max_pool_percent) */
119 static unsigned int zswap_max_pool_percent = 20; variable
120 module_param_named(max_pool_percent, zswap_max_pool_percent, uint, 0644);
263 return totalram_pages() * zswap_max_pool_percent / 100 < in zswap_is_full()
270 zswap_max_pool_percent / 100 > in zswap_can_accept()

Completed in 4 milliseconds