summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorAli Ahmet Memiş <aliamemis@disroot.org>2026-10-11 01:25:40 +0300
committerTakashi Iwai <tiwai@suse.de>2026-10-11 10:48:26 +0200
commit7ca1731b8a129cafe258c578fa87b7c414c6d004 (patch)
tree268ac6484554d9b844e0b13c0849710a448e7ced /tools/lib/python/kdoc
parent947037990e050a3cb116631ff29a9cb621068162 (diff)
ALSA: seq: Wait for one RCU grace period when deleting all ports
Since the port list was converted to RCU, snd_seq_delete_all_ports() calls synchronize_rcu() once per port under register_mutex. Closing a client with 254 ports now takes about 1.6s and every other client open or close waits for it. Unlink all ports first, wait for a single grace period and then free them. Fixes: 4c252fbc06d6 ("ALSA: seq: Use RCU for the client port list") Signed-off-by: Ali Ahmet Memiş <aliamemis@disroot.org> Link: https://patch.msgid.link/20261010222543.1470723-1-aliamemis@disroot.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions