linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] powerpc/pseries: Improve serialization of PRRN events
@ 2018-08-08 15:29 John Allen
  2018-08-08 15:29 ` [PATCH v3 1/2] powerpc/pseries: Avoid blocking rtas polling handling multiple " John Allen
  2018-08-08 15:29 ` [PATCH v3 2/2] powerpc/pseries: Wait for completion of hotplug events during PRRN handling John Allen
  0 siblings, 2 replies; 6+ messages in thread
From: John Allen @ 2018-08-08 15:29 UTC (permalink / raw)
  To: linuxppc-dev, mpe; +Cc: nfont, desnesn

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(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-10 11:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-08 15:29 [PATCH v3 0/2] powerpc/pseries: Improve serialization of PRRN events John Allen
2018-08-08 15:29 ` [PATCH v3 1/2] powerpc/pseries: Avoid blocking rtas polling handling multiple " John Allen
2018-08-10 11:53   ` Michael Ellerman
2018-08-08 15:29 ` [PATCH v3 2/2] powerpc/pseries: Wait for completion of hotplug events during PRRN handling John Allen
2018-08-09 16:15   ` Nathan Fontenot
2018-08-10 11:47     ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).