[PATCH tip/core/rcu 0/6] kvfree_rcu() updates for v5.12-rc1

From: Paul E. McKenney
Date: Wed Mar 03 2021 - 19:17:58 EST


Hello!

This series contains kvfree_rcu() updates, most notably surrounding GPF
flags for memory allocation.

1. kvfree_rcu: Directly allocate page for single-argument case,
courtesy of "Uladzislau Rezki (Sony)".

2. kvfree_rcu: Use __GFP_NOMEMALLOC for single-argument kvfree_rcu().

3. kvfree_rcu: Make krc_this_cpu_unlock() use
raw_spin_unlock_irqrestore().

4. kvfree_rcu: Replace __GFP_RETRY_MAYFAIL by __GFP_NORETRY,
courtesy of "Uladzislau Rezki (Sony)".

5. kvfree_rcu: Use same set of GFP flags as does single-argument,
courtesy of "Uladzislau Rezki (Sony)".

6. Add kfree_rcu() single-argument scale test, courtesy of
"Uladzislau Rezki (Sony)".

Thanx, Paul

------------------------------------------------------------------------

Documentation/admin-guide/kernel-parameters.txt | 12 ++++
kernel/rcu/rcuscale.c | 15 +++++
kernel/rcu/tree.c | 63 ++++++++++++++++--------
3 files changed, 68 insertions(+), 22 deletions(-)