Skip to content

rcu: resend of grace-period stall and cleanup patches

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rcu: fix grace-period-stall bug on large systems with CPU hotplugkernel/rcutree.c kernel/rcutree.h kernel/rcutree_plugin.h+85 -431 reply
2/3rcu: eliminate unneeded function wrappinginclude/linux/rcutiny.h include/linux/rcutree.h kernel/rcupdate.c +2 more+15 -401 reply
3/3rcu: re-arrange code to reduce #ifdef paininclude/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +3 more+118 -1171 reply

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/3] rcu: resend of grace-period stall and cleanup patches

Hello!

This patch series is a resend of the three RCU patches that are candidates for the upcoming 2.6.33 merge window, but that are not yet in -tip. These are:

1. A fix for a grace-period-stall bug that occurs on large
machines. This was partially fixed by commit 237c80c5, and this patch completes the fix using a much cleaner method. 237c80c5 would request another quiescent state for a CPU that just went offline and that might have already gone through a quiescent state for the current grace period. In contrast, this patch pushes the quiescent-state reporting up the rcu_node tree straightaway.

2. A cleanup removing function wrapping that has been unnecessary
since commit e74f4c45 caused CPUs going offline to give up their own callbacks.

3. A cleanup that gets rid of a few annoying #ifdefs by moving
the code from kernel/rcupdate.c and include/linux/rcupdate.h to include/linux/rcutiny.h, include/linux/rcutree.h, and kernel/rcutree.c.

Thanx, Paul