TWx Linux Repository
Go to file
Takashi Iwai 97d917879d ALSA: oss: Fix potential deadlock at unregistration
We took sound_oss_mutex around the calls of unregister_sound_special()
at unregistering OSS devices.  This may, however, lead to a deadlock,
because we manage the card release via the card's device object, and
the release may happen at unregister_sound_special() call -- which
will take sound_oss_mutex again in turn.

Although the deadlock might be fixed by relaxing the rawmidi mutex in
the previous commit, it's safer to move unregister_sound_special()
calls themselves out of the sound_oss_mutex, too.  The call is
race-safe as the function has a spinlock protection by itself.

Link: https://lore.kernel.org/r/CAB7eexJP7w1B0mVgDF0dQ+gWor7UdkiwPczmL7pn91xx8xpzOA@mail.gmail.com
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20221011070147.7611-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-10-11 09:02:43 +02:00
arch ASoC: Drop mistakenly applied DTS patch 2022-09-13 17:10:58 +01:00
block block-6.0-2022-09-09 2022-09-09 15:03:08 -04:00
certs
crypto
Documentation ASoC: Updates for v6.1 2022-10-03 16:30:42 +02:00
drivers ASoC: Updates for v6.1 2022-10-03 16:30:42 +02:00
fs Driver core fixes for 6.0-rc5 2022-09-09 15:08:40 -04:00
include ALSA: hda: Update register polling macros 2022-10-09 12:34:32 +02:00
init arm64 fixes for -rc3 2022-08-26 11:32:53 -07:00
io_uring io_uring-6.0-2022-09-09 2022-09-09 14:57:18 -04:00
ipc
kernel dma-mapping fixes for Linux 6.0 2022-09-10 12:18:19 -04:00
lib Linux 6.0-rc4 2022-09-13 15:05:38 +01:00
LICENSES
mm mm: pagewalk: Fix race between unmap and page walker 2022-09-03 10:13:13 -07:00
net sch_sfb: Also store skb len before calling child enqueue 2022-09-08 11:12:58 +02:00
samples
scripts Kbuild fixes for v6.0 (2nd) 2022-09-11 15:16:47 -04:00
security Landlock fix for v6.0-rc4 2022-09-02 15:24:08 -07:00
sound ALSA: oss: Fix potential deadlock at unregistration 2022-10-11 09:02:43 +02:00
tools linux-kselftest-kunit-fixes-6.0-rc5 2022-09-09 14:13:36 -04:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap .mailmap: update Luca Ceresoli's e-mail address 2022-08-28 14:02:46 -07:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS ASoC: MAINTAINERS: add bindings and APR to Qualcomm Audio entry 2022-09-26 16:10:31 +01:00
Makefile Linux 6.0-rc5 2022-09-11 16:22:01 -04:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.