From: Clemens Ladisch <clemens@ladisch.de>
To: Jia-Ju Bai <baijiaju1990@163.com>
Cc: perex@perex.cz, tiwai@suse.com, o-takashi@sakamocchi.jp,
elfring@users.sourceforge.net, fabf@skynet.be,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [alsa-devel] [PATCH] opl3: Fix a possible sleep-in-atomic bug in snd_opl3_find_patch
Date: Mon, 9 Oct 2017 08:32:48 +0200 [thread overview]
Message-ID: <5146a06e-0199-3d03-b4d6-9a4f71e4c4af@ladisch.de> (raw)
In-Reply-To: <1507516527-4173-1-git-send-email-baijiaju1990@163.com>
Jia-Ju Bai wrote:
> The driver may sleep under a spinlock, and the function call path is:
> snd_opl3_note_on (acquire the spinlock)
> snd_opl3_find_patch
> kzalloc(GFP_KERNEL) --> may sleep
This call path is not possible because create_patch is not set.
Regards,
Clemens
next prev parent reply other threads:[~2017-10-09 6:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-09 2:35 Jia-Ju Bai
2017-10-09 6:32 ` Clemens Ladisch [this message]
2017-10-09 7:51 ` [alsa-devel] " Jia-Ju Bai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5146a06e-0199-3d03-b4d6-9a4f71e4c4af@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=baijiaju1990@163.com \
--cc=elfring@users.sourceforge.net \
--cc=fabf@skynet.be \
--cc=linux-kernel@vger.kernel.org \
--cc=o-takashi@sakamocchi.jp \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®