Skip to content

smp/hotplug rework / lockdep annotate

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7smp/hotplug: Add state diagraminclude/linux/cpuhotplug.h+18 -00 replies
2/7smp/hotplug: Allow external multi-instance rollbackkernel/cpu.c+32 -150 replies
3/7smp/hotplug: Rewrite AP state machine corekernel/cpu.c+176 -840 replies
4/7smp/hotplug: Callback vs state-machine consistencykernel/cpu.c+22 -40 replies
5/7smp/hotplug: Differentiate the AP completion between up and downkernel/cpu.c+24 -91 reply
6/7smp/hotplug: Differentiate the AP-work lockdep class between up and downkernel/cpu.c+32 -93 replies
7/7smp/hotplug: Hotplug state fail injectioninclude/linux/cpuhotplug.h kernel/cpu.c+61 -20 replies

Reviews trailers per patch

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

PatchByungchul Park
1/7
2/7
3/7
4/7
5/7A-b
6/7
7/7

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 0/7] smp/hotplug rework / lockdep annotate

These here patches rework the cpu hotplug state machine and add two lockdep (crossrelease) annotations.

The rework is quite invasive, but was suggested by Thomas as being the right way to go about doing things :-)

These patches have been tested with Steve's hotplug stress script, as well as two new hotplug test scripts which test cpu up/down rollback through explicit failure injection (see last patch).

Where cpu-down used to insta-trigger a lockdep splat, I am no longer able to trigger anything with these patches applied.