Skip to content

Fix RCU priority boosting

Paul E. McKenney lkml rcu 1 version In review

Get series with b4
b4 am 20210120043144.GA7045@paulmck-ThinkPad-P72

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rcu: Expedite deboost in case of deferred quiescent statekernel/rcu/tree_plugin.h+14 -126 replies
2/4rcutorture: Make TREE03 use real-time tree.use_softirq settingtools/testing/selftests/rcutorture/configs/rcu/TREE03.boot+1 -00 replies
3/4rcu: Run rcuo kthreads at elevated priority in CONFIG_RCU_BOOST kernelskernel/rcu/tree_plugin.h+2 -00 replies
4/4rcutorture: Fix testing of RCU priority boostingkernel/rcu/rcutorture.c+22 -140 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] Fix RCU priority boosting

Hello!

This series fixes a bug in which an RCU-priority-boosted task can stay boosted for some time after it has exited its RCU read-side critical section. This bug arose during the RCU flavor consolidation effort. The patches are as follows:

1. Expedite deboost in case of deferred quiescent state.

2. Make TREE03 use real-time tree.use_softirq setting.

3. Run rcuo kthreads at elevated priority in CONFIG_RCU_BOOST
kernels.

4. Fix testing of RCU priority boosting.

Thanx, Paul

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

 kernel/rcu/rcutorture.c                                    |   36 +++++++------
 kernel/rcu/tree_plugin.h                                   |   28 +++++-----
 tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot |    1 
 3 files changed, 39 insertions(+), 26 deletions(-)