[PATCH 0/5] ALSA: seq: Optimization with RCU

Takashi Iwai posted 5 patches 1 month, 2 weeks ago
include/sound/seq_virmidi.h     |   1 -
sound/core/seq/seq_clientmgr.c  |  69 +++++++++++++--------
sound/core/seq/seq_clientmgr.h  |   1 -
sound/core/seq/seq_ports.c      | 103 +++++++++++++++-----------------
sound/core/seq/seq_ports.h      |   8 +--
sound/core/seq/seq_ump_client.c |  38 +++++++-----
sound/core/seq/seq_virmidi.c    |  19 +++---
7 files changed, 127 insertions(+), 112 deletions(-)
[PATCH 0/5] ALSA: seq: Optimization with RCU
Posted by Takashi Iwai 1 month, 2 weeks ago
Hi,

here are a set of (rather small) patches for optimizing lockings in
ALSA sequencer core by replacing with RCU.  Most of changes are
straight-forward conversions from read-lock to RCU, or a simple
pointer assignment.


Takashi

===

Takashi Iwai (5):
  ALSA: seq: Use RCU for the port subscriber list
  ALSA: seq: Use RCU for the client port list
  ALSA: seq: Use RCU for the client table
  ALSA: seq: Use RCU for the virmidi file list
  ALSA: seq: Use RCU for the UMP client output substream

 include/sound/seq_virmidi.h     |   1 -
 sound/core/seq/seq_clientmgr.c  |  69 +++++++++++++--------
 sound/core/seq/seq_clientmgr.h  |   1 -
 sound/core/seq/seq_ports.c      | 103 +++++++++++++++-----------------
 sound/core/seq/seq_ports.h      |   8 +--
 sound/core/seq/seq_ump_client.c |  38 +++++++-----
 sound/core/seq/seq_virmidi.c    |  19 +++---
 7 files changed, 127 insertions(+), 112 deletions(-)

-- 
2.55.0