1. 29 Jul, 2022 1 commit
    • Takashi Iwai's avatar
      ALSA: core: Add async signal helpers · ef34a0ae
      Takashi Iwai authored
      Currently the call of kill_fasync() from an interrupt handler might
      lead to potential spin deadlocks, as spotted by syzkaller.
      Unfortunately, it's not so trivial to fix this lock chain as it's
      involved with the tasklist_lock that is touched in allover places.
      
      As a temporary workaround, this patch provides the way to defer the
      async signal notification in a work.  The new helper functions,
      snd_fasync_helper() and snd_kill_faync() are replacements for
      fasync_helper() and kill_fasync(), respectively.  In addition,
      snd_fasync_free() needs to be called at the destructor of the relevant
      file object.
      
      Link: https://lore.kernel.org/r/20220728125945.29533-2-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ef34a0ae
  2. 28 Jul, 2022 3 commits
  3. 25 Jul, 2022 6 commits
  4. 22 Jul, 2022 3 commits
  5. 15 Jul, 2022 12 commits
  6. 14 Jul, 2022 13 commits
  7. 13 Jul, 2022 2 commits