Skip to content

ALSA: Drop async signal support

Takashi Iwai alsa-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 2 repliesIn review
  2. v15 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ALSA: timer: Drop async signal supportsound/core/timer.c+0 -130 replies
2/5ALSA: pcm: Drop async signal supportinclude/sound/pcm.h sound/core/pcm_lib.c sound/core/pcm_native.c+1 -260 replies
3/5ALSA: control: Drop async signal supportinclude/sound/control.h sound/core/control.c+0 -120 replies
4/5ALSA: core: Drop async signal supportsound/core/init.c+1 -100 replies
5/5ALSA: doc: Drop stale fasync entryDocumentation/sound/kernel-api/writing-an-alsa-driver.rst+0 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] ALSA: Drop async signal support

Hi,

this is a revised patch set for dropping fasync support from ALSA core.

The async signal itself is very difficult to use properly due to various restrictions (e.g. you cannot perform any I/O in the context), hence it's a feature that has been never used by real applications.

OTOH, the real problem is that there have been quite a few syzcaller reports indicating that fasync code path may lead to some potential deadlocks for long time. Dropping the feature is the easiest solution, obviously.

The corresponding update for alsa-lib will follow once when we agree with this approach.

thanks,

Takashi

===

v1: https://lore.kernel.org/r/[email protected]
v1->v2: Fix unused variable warning in patch 2

===

Takashi Iwai (5):
ALSA: timer: Drop async signal support
ALSA: pcm: Drop async signal support
ALSA: control: Drop async signal support
ALSA: core: Drop async signal support
ALSA: doc: Drop stale fasync entry

 .../kernel-api/writing-an-alsa-driver.rst      |  1 -
 include/sound/control.h                        |  1 -
 include/sound/pcm.h                            |  1 -
 sound/core/control.c                           | 11 -----------
 sound/core/init.c                              | 11 +----------
 sound/core/pcm_lib.c                           |  8 +-------
 sound/core/pcm_native.c                        | 18 ------------------
 sound/core/timer.c                             | 13 -------------
 8 files changed, 2 insertions(+), 62 deletions(-)
Signature · 1 line
2.35.3