kfree_rcu() updates for v5.8
Get series with b4
b4 am 20200415171924.GA9270@paulmck-ThinkPad-P72Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | rcuperf: Add ability to increase object allocation sizekernel/ | +4 | 0 replies | |
| 2/4 | rcu/tree: Add a shrinker to prevent OOM due to kfree_rcu() batchingkernel/ | +60 | 0 replies | |
| 3/4 | rcu/tree: Count number of batched kfree_rcu() locklesslykernel/ | +4 | 0 replies | |
| 4/4 | rcu: Add rcu_gp_might_be_stalled()include/ include/ kernel/ | +38 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)