Skip to content

Review comments, cleanups, and preemptable synchronize_rcu() fixes

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Kconfig help needs to say that TREE_PREEMPT_RCU scales downinit/Kconfig+2 -12 replies
2/4Add debug checks to TREE_PREEMPT_RCU for premature grace periods.kernel/rcutree.c kernel/rcutree_plugin.h+27 -04 replies
3/4Simplify rcu_read_unlock_special() quiescent-state accountinginclude/linux/sched.h kernel/rcutree.c kernel/rcutree_plugin.h+32 -383 replies
4/4Fix synchronize_rcu() for TREE_PREEMPT_RCUinclude/linux/rcupdate.h include/linux/rcutree.h kernel/rcupdate.c+50 -212 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJosh Triplett
1/4
2/4
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/4] Review comments, cleanups, and preemptable synchronize_rcu() fixes

This patchset provides updates to TREE_PREEMPT_RCU as follows:

1. Update the TREE_PREEMPT_RCU description to note that it is
suitable for small machines.

2. Add some WARN_ON_ONCE() calls to check for (incorrect)
concurrent grace-period initialization.

3. Simplify quiescent-state detection (which also speeds up
TREE_PREEMPT_RCU grace periods slightly).

4. Fix a thinko in TREE_PREEMPT_RCU's synchronize_rcu() that
could result in premature grace periods.