[PATCH rcu 0/8] kvfree_rcu updates for v6.3
From: Paul E. McKenney
Date: Wed Jan 04 2023 - 19:27:06 EST
Hello!
This series contains a few kvfree_rcu() updates:
1. Refactor kvfree_call_rcu() and high-level helpers, courtesy of
"Uladzislau Rezki (Sony)".
2. Switch to a generic linked list API, courtesy of "Uladzislau Rezki
(Sony)".
3. Move bulk/list reclaim to separate functions, courtesy of
"Uladzislau Rezki (Sony)".
4. Move need_offload_krc() out of krcp->lock, courtesy of "Uladzislau
Rezki (Sony)".
5. Use a polled API to speedup a reclaim process, courtesy of
"Uladzislau Rezki (Sony)".
6. Use READ_ONCE() when access to krcp->head, courtesy of "Uladzislau
Rezki (Sony)".
7. Carefully reset number of objects in krcp, courtesy of "Uladzislau
Rezki (Sony)".
8. Split ready for reclaim objects from a batch, courtesy of
"Uladzislau Rezki (Sony)".
Thanx, Paul
------------------------------------------------------------------------
b/include/linux/rcupdate.h | 5
b/include/linux/rcutiny.h | 12 -
b/include/linux/rcutree.h | 2
b/kernel/rcu/tiny.c | 9 -
b/kernel/rcu/tree.c | 29 +--
kernel/rcu/tree.c | 392 +++++++++++++++++++++++++++------------------
6 files changed, 261 insertions(+), 188 deletions(-)