Skip to content

kfree_rcu() updates for v5.8

Paul E. McKenney lkml rcu 1 version New

Get series with b4
b4 am 20200415171924.GA9270@paulmck-ThinkPad-P72

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rcuperf: Add ability to increase object allocation sizekernel/rcu/rcuperf.c+4 -10 replies
2/4rcu/tree: Add a shrinker to prevent OOM due to kfree_rcu() batchingkernel/rcu/tree.c+60 -00 replies
3/4rcu/tree: Count number of batched kfree_rcu() locklesslykernel/rcu/tree.c+4 -60 replies
4/4rcu: Add rcu_gp_might_be_stalled()include/linux/rcutiny.h include/linux/rcutree.h kernel/rcu/tree_stall.h+38 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/4] kfree_rcu() updates for v5.8

Hello!

This series updates kfree_rcu() testing and OOM handling. It also provides a rcu_gp_might_be_stalled() function that judges whether or not RCU is being stalled.

1. Add ability to increase object allocation size, courtesy
of Joel Fernandes.

2. rcu/tree: Add a shrinker to prevent OOM due to kfree_rcu()
batching, courtesy of Joel Fernandes.

3. rcu/tree: Count number of batched kfree_rcu() locklessly,
courtesy of Joel Fernandes.

4. Add rcu_gp_might_be_stalled() to indicate whether or not there
is currently a good chance that the current RCU grace period is being stalled.

Thanx, Paul

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

 include/linux/rcutiny.h |    1 
 include/linux/rcutree.h |    1 
 kernel/rcu/rcuperf.c    |    5 ++-
 kernel/rcu/tree.c       |   70 +++++++++++++++++++++++++++++++++++++++++++-----
 kernel/rcu/tree_stall.h |   40 ++++++++++++++++++++++++---
 5 files changed, 106 insertions(+), 11 deletions(-)