mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: linux-sound@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 0/5] ALSA: seq: Optimization with RCU
Date: Mon, 10 Aug 2026 15:37:01 +0200	[thread overview]
Message-ID: <20260810133711.42483-1-tiwai@suse.de> (raw)

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


             reply	other threads:[~2026-08-10 13:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-10 13:37 Takashi Iwai [this message]
2026-08-10 13:37 ` [PATCH 1/5] ALSA: seq: Use RCU for the port subscriber list Takashi Iwai
2026-08-10 13:37 ` [PATCH 2/5] ALSA: seq: Use RCU for the client port list Takashi Iwai
2026-08-10 13:37 ` [PATCH 3/5] ALSA: seq: Use RCU for the client table Takashi Iwai
2026-08-10 13:37 ` [PATCH 4/5] ALSA: seq: Use RCU for the virmidi file list Takashi Iwai
2026-08-10 13:37 ` [PATCH 5/5] ALSA: seq: Use RCU for the UMP client output substream Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260810133711.42483-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®