alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ALSA: Defer async signal handling
@ 2022-07-26 15:34 Takashi Iwai
  2022-07-26 15:34 ` [PATCH 1/4] ALSA: core: Add async signal helpers Takashi Iwai
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Takashi Iwai @ 2022-07-26 15:34 UTC (permalink / raw)
  To: alsa-devel

Hi,

this series is another attempt to address the potential deadlocks via
kill_fasync() calls that have been reported by syzbot for long time.
Instead of the previous series to drop the async handler[*], this
tries to defer the kill_fasync() call.  A few new common helpers are
introduced at first, then the actual usages are replaced in the
following patches.

The patches passed the quick tests with alsa-lib test cases.


Takashi

[*] https://lore.kernel.org/r/20220717070549.5993-1-tiwai@suse.de

===

Takashi Iwai (4):
  ALSA: core: Add async signal helpers
  ALSA: timer: Use deferred fasync helper
  ALSA: pcm: Use deferred fasync helper
  ALSA: control: Use deferred fasync helper

 include/sound/control.h |  2 +-
 include/sound/core.h    |  8 ++++
 include/sound/pcm.h     |  2 +-
 sound/core/control.c    |  7 ++--
 sound/core/misc.c       | 93 +++++++++++++++++++++++++++++++++++++++++
 sound/core/pcm.c        |  1 +
 sound/core/pcm_lib.c    |  2 +-
 sound/core/pcm_native.c |  2 +-
 sound/core/timer.c      | 11 ++---
 9 files changed, 116 insertions(+), 12 deletions(-)

-- 
2.35.3


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-27  6:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26 15:34 [PATCH 0/4] ALSA: Defer async signal handling Takashi Iwai
2022-07-26 15:34 ` [PATCH 1/4] ALSA: core: Add async signal helpers Takashi Iwai
2022-07-27  1:14   ` kernel test robot
2022-07-27  6:50     ` Takashi Iwai
2022-07-26 15:34 ` [PATCH 2/4] ALSA: timer: Use deferred fasync helper Takashi Iwai
2022-07-26 15:34 ` [PATCH 3/4] ALSA: pcm: " Takashi Iwai
2022-07-26 15:34 ` [PATCH 4/4] ALSA: control: " Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).