Skip to content

powerpc/pseries: Improve serialization of PRRN events

John Allen linuxppc-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesIn review
  2. v22 patches 11 repliesSuperseded
  3. v12 patches 1 replySuperseded

Changes in v3 from the cover letter

-Scrap the PRRN mutex as it only replicates existing workqueue behavior.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc/pseries: Avoid blocking rtas polling handling multiple PRRN eventsarch/powerpc/kernel/rtasd.c+0 -11 reply
2/2powerpc/pseries: Wait for completion of hotplug events during PRRN handlingarch/powerpc/platforms/pseries/mobility.c+4 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] powerpc/pseries: Improve serialization of PRRN events

Stress testing has uncovered issues with handling continuously queued PRRN events. Running PRRN events in this way can seriously load the system given the sheer volume of dlpar being handled. This patchset ensures that PRRN events are handled more synchronously, only allowing the PRRN handler to queue a single dlpar event at any given time. Additionally, it ensures that rtas polling continues normally when multiple PRRN events are queued simultaneously.

v3:
-Scrap the PRRN mutex as it only replicates existing workqueue behavior.
v2:
-Unlock prrn_lock when PRRN operations are complete, not after handler is
scheduled.
-Remove call to flush_work, the previous broken method of serializing
PRRN events.

John Allen (2):
powerpc/pseries: Avoid blocking rtas polling handling multiple PRRN
events
powerpc/pseries: Wait for completion of hotplug events during PRRN
handling

 arch/powerpc/kernel/rtasd.c               | 10 +++++++---
 arch/powerpc/platforms/pseries/mobility.c |  5 ++++-
 2 files changed, 11 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.1