Skip to content

ALSA: seq: Optimization with RCU

Takashi Iwai linux-sound lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ALSA: seq: Use RCU for the port subscriber listsound/core/seq/seq_clientmgr.c sound/core/seq/seq_ports.c sound/core/seq/seq_ports.h+41 -440 replies
2/5ALSA: seq: Use RCU for the client port listsound/core/seq/seq_clientmgr.c sound/core/seq/seq_clientmgr.h sound/core/seq/seq_ports.c+23 -300 replies
3/5ALSA: seq: Use RCU for the client tablesound/core/seq/seq_clientmgr.c+30 -130 replies
4/5ALSA: seq: Use RCU for the virmidi file listinclude/sound/seq_virmidi.h sound/core/seq/seq_virmidi.c+11 -90 replies
5/5ALSA: seq: Use RCU for the UMP client output substreamsound/core/seq/seq_ump_client.c+22 -160 replies

Reviews trailers per patch

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

Read the v1 thread

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

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(-)
Signature · 1 line
2.55.0