linux/Documentation
Zhang Qiang d0bfa8b3c4 kvfree_rcu: Release a page cache under memory pressure
Add a drain_page_cache() function to drain a per-cpu page cache.
The reason behind of it is a system can run into a low memory
condition, in that case a page shrinker can ask for its users
to free their caches in order to get extra memory available for
other needs in a system.

When a system hits such condition, a page cache is drained for
all CPUs in a system. By default a page cache work is delayed
with 5 seconds interval until a memory pressure disappears, if
needed it can be changed. See a rcu_delay_page_cache_fill_msec
module parameter.

Co-developed-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2021-05-10 16:00:48 -07:00
..
2021-05-08 10:00:11 -07:00
2021-05-06 14:22:58 -07:00
2021-04-30 12:22:28 -07:00
2021-05-04 18:03:38 -07:00
2021-04-07 17:32:12 +10:00
2021-04-20 06:52:08 -07:00
2021-04-29 14:32:00 -07:00
2021-04-30 12:22:28 -07:00
2021-04-28 14:27:12 -07:00
2021-04-26 16:32:11 -07:00
2021-05-01 10:14:08 -07:00
2021-04-30 11:20:37 -07:00