ALSA: Refactoring PCM locking code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ALSA: pcm: Call snd_card_unref() inside in_pcm_file()sound/ | +8 | 0 replies | |
| 2/7 | ALSA: pcm: Unify snd_pcm_group initializationsound/ sound/ sound/ | +11 | 0 replies | |
| 3/7 | ALSA: pcm: Make PCM linked list consistent while re-groupinginclude/ sound/ | +20 | 0 replies | |
| 4/7 | ALSA: pcm: Avoid confusing loop in snd_pcm_unlink()sound/ | +3 | 0 replies | |
| 5/7 | ALSA: pcm: More fine-grained PCM link lockinginclude/ sound/ | +124 | 0 replies | |
| 6/7 | ALSA: pcm: Remove down_write() hack for snd_pcm_link_rwsemsound/ | +2 | 0 replies | |
| 7/7 | ALSA: pcm: Cleanup snd_pcm_stream_lock() & cosound/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] ALSA: Refactoring PCM locking code
Hi,
this is a patch set to refactor the PCM locking code and to reduce the global lock. At least, this gets rid of the global rwlock, while the global rwsem is still needed for some non-atomic ops and for avoiding the deadlock at linking.
Takashi
===
Takashi Iwai (7):
ALSA: pcm: Call snd_card_unref() inside in_pcm_file()
ALSA: pcm: Unify snd_pcm_group initialization
ALSA: pcm: Make PCM linked list consistent while re-grouping
ALSA: pcm: Avoid confusing loop in snd_pcm_unlink()
ALSA: pcm: More fine-grained PCM link locking
ALSA: pcm: Remove down_write() hack for snd_pcm_link_rwsem
ALSA: pcm: Cleanup snd_pcm_stream_lock() & co
include/sound/pcm.h | 3 +- sound/core/pcm.c | 4 +- sound/core/pcm_local.h | 1 + sound/core/pcm_native.c | 290 ++++++++++++++++++++++++++++-------------------- 4 files changed, 171 insertions(+), 127 deletions(-)
Signature · 1 line
2.16.4