Skip to content

CPU-hotplug updates for 4.2

Paul E. McKenney linux-arm-kernel linux-sh lkml 1 version Applied

Status from this message: Queued for 4.2. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9rcu: Eliminate HOTPLUG_CPU #ifdef in favor of IS_ENABLED()kernel/rcu/tree.c+14 -250 replies
2/9rcu: Adjust ->lock acquisition for tasks no longer migratingkernel/rcu/tree_plugin.h+6 -30 replies
3/9rcu: Remove dead code from force_qs_rnp()kernel/rcu/tree.c+0 -40 replies
4/9rcu: Remove redundant offline checkkernel/rcu/tree.c+0 -20 replies
5/9rcu: Correctly initialize ->rcu_qs_ctr_snap at online timekernel/rcu/tree.c+1 -10 replies
6/9cpu: Handle smpboot_unpark_threads() uniformlykernel/cpu.c+1 -10 replies
7/9arm64: Use common outgoing-CPU-notification codearch/arm64/kernel/smp.c+2 -44 replies
8/9arm: Use common outgoing-CPU-notification codearch/arm/kernel/smp.c+2 -41 reply
9/9cpu: Remove new instance of __cpuinit that crept back inkernel/cpu.c+1 -10 replies

Reviews trailers per patch

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

PatchWill DeaconGeert Uytterhoeven
1/9
2/9
3/9
4/9
5/9
6/9
7/9A-b
8/9T-b
9/9

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/9] CPU-hotplug updates for 4.2

Hello!

The following series improves RCU's handling of CPU hotplug. It also contains a couple of ARM placeholder patches in case someone gets caught out by tighter diagnostics.

1. Eliminate a HOTPLUG_CPU #ifdef in favor of IS_ENABLED()

2. Adjust rcu_read_unlock_special()'s acquisition of the
task's lock to start allowing for the fact that blocked tasks are no longer migrated to the root rcu_node structure. If the warning does not trigger, a later patch will eliminate the loop.

3. Rmove dead code from force_qs_rnp().

4. Remove redundant offline check.

5. Correctly initialize ->rcu_qs_ctr_snap at online time to get the
code out of its current "working by accident" state.

6. Move smpboot_unpark_threads() handling into a notifier for
uniformity.

7. [Placeholder for ARM64] Use common code for ARM64 CPU-offline
notification.

8. [Placeholder for ARM] Use common code for ARM CPU-offline
notification.

9. Remove extraneous __cpuinit, courtesy of Paul Gortmaker.

Thanx, Paul

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

 b/arch/arm/kernel/smp.c    |    6 +----
 b/arch/arm64/kernel/smp.c  |    6 +----
 b/kernel/cpu.c             |    4 +--
 b/kernel/rcu/tree.c        |   47 ++++++++++++++-------------------------------
 b/kernel/rcu/tree_plugin.h |    9 +++++---
 5 files changed, 27 insertions(+), 45 deletions(-)