mbox series

[0/8] kvfree_rcu updates for v6.3

Message ID 20230105002441.GA1768817@paulmck-ThinkPad-P17-Gen-1 (mailing list archive)
Headers show
Series kvfree_rcu updates for v6.3 | expand

Message

Paul E. McKenney Jan. 5, 2023, 12:24 a.m. UTC
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(-)