Skip to content

more migration vs CPU hotplug fixes etc

Nathan Lynch linuxppc-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 6 repliesIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Correct description of cpu hotplug vs LPM race.
- Add fix for long-running code in pseries_devicetree_update and friends

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/rtas: use device model APIs and serialization during LPMarch/powerpc/kernel/rtas.c+8 -34 replies
2/3powerpc/rtas: allow rescheduling while changing cpu statesarch/powerpc/kernel/rtas.c+2 -02 replies
3/3powerpc/pseries/mobility: use cond_resched when updating device treearch/powerpc/platforms/pseries/mobility.c+9 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchGautham R. Shenoy
1/3R-b
2/3R-b
3/3

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

Read the v2 thread

Cover letter [PATCH v2 0/3] more migration vs CPU hotplug fixes etc

Despite recent fixes, userspace-initiated CPU hotplug still can destructively race with the migration code's CPU state manipulations. And parts of the LPM implementation have potentially long-running code, especially on larger systems, that ties up the CPU causing RCU stalls etc.

Changes since v1:
- Correct description of cpu hotplug vs LPM race.
- Add fix for long-running code in pseries_devicetree_update and friends

Nathan Lynch (3):
powerpc/rtas: use device model APIs and serialization during LPM powerpc/rtas: allow rescheduling while changing cpu states powerpc/pseries/mobility: use cond_resched when updating device tree

 arch/powerpc/kernel/rtas.c                | 13 ++++++++++---
 arch/powerpc/platforms/pseries/mobility.c |  9 +++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)
Signature · 1 line
2.20.1