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

From: Paul E. McKenney
Date: Wed Apr 15 2020 - 13:19:31 EST


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(-)