Skip to content

cpu/hotplug: Convert scheduler to hotplug state machine

Thomas Gleixner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 of 15 patches 6 repliesIn review

14 of 15 patches are in this archive. The cover letter announces 15.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15cpu/hotplug: Document states betterkernel/cpu.c+46 -10 replies
3/15sched: Make set_cpu_rq_start_time() a built in hotplug stateinclude/linux/cpuhotplug.h include/linux/sched.h kernel/cpu.c +1 more+17 -70 replies
4/15sched: Allow hotplug notifiers to be setup earlykernel/sched/core.c+36 -230 replies
5/15sched: Consolidate the notifier mazeinclude/linux/cpu.h kernel/sched/core.c+73 -1130 replies
6/15sched: Move sched_domains_numa_masks_clear() to DOWN_PREPAREkernel/sched/core.c+0 -30 replies
7/15sched/hotplug: Convert cpu_[in]active notifiers to state machineinclude/linux/cpu.h include/linux/cpuhotplug.h include/linux/sched.h +2 more+30 -600 replies
8/15sched, hotplug: Move sync_rcu to be with set_cpu_active(false)kernel/cpu.c kernel/sched/core.c+14 -150 replies
9/15sched/migration: Move prepare transition to SCHED_STARTING statekernel/sched/core.c+11 -90 replies
10/15sched/migration: Move calc_load_migrate() into CPU_DYINGkernel/sched/core.c+0 -35 replies
11/15sched/migration: Move CPU_ONLINE into scheduler statekernel/sched/core.c+22 -110 replies
12/15sched/hotplug: Move migration CPU_DYING to sched_cpu_dying()include/linux/cpu.h include/linux/sched.h kernel/cpu.c +1 more+22 -530 replies
13/15sched/hotplug: Make activate() the last hotplug stepinclude/linux/cpuhotplug.h kernel/cpu.c+8 -70 replies
14/15sched/fair: Make ilb_notifier an explicit callkernel/sched/core.c kernel/sched/fair.c kernel/sched/sched.h+6 -140 replies
15/15sched: Make hrtick_notifier an explicit callkernel/sched/core.c+1 -330 replies

Reviews trailers per patch

None of the 14 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter ZijlstraVaidyanathan Srinivasan
SeriesA-b
1/15Requested-by
3/15
4/15
5/15
6/15
7/15
8/15
9/15
10/15T-b
11/15
12/15
13/15
14/15
15/15

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 00/15] cpu/hotplug: Convert scheduler to hotplug state machine

The following series contains:

- cleanup of the notifier maze in the scheduler and conversion to the state machine.

- Handling of cpu active is distangled from cpu online and moved to the end of the hotplug process.

Patches are against tip:master rather than against tip:smp/hotplug because there is an interaction with the accounting fix pending in sched/urgent.

Thanks,

tglx

---
 arch/powerpc/kernel/smp.c  |    2 
 b/arch/s390/kernel/smp.c   |    2 
 include/linux/cpu.h        |   18 --
 include/linux/cpuhotplug.h |    2 
 include/linux/cpumask.h    |    6 
 include/linux/sched.h      |    4 
 kernel/cpu.c               |   77 ++++++--
 kernel/sched/core.c        |  399 +++++++++++++++++++--------------------------
 kernel/sched/fair.c        |   15 -
 kernel/sched/sched.h       |    4 
 10 files changed, 248 insertions(+), 281 deletions(-)