[alsa-devel] [PATCH] regmap: Fix possible sleep-in-atomic in fast io mode

Mark Brown broonie at kernel.org
Tue Mar 18 12:27:56 CET 2014


On Tue, Mar 18, 2014 at 12:20:00PM +0100, Takashi Iwai wrote:
> regmap deploys the spinlock for the protection when set up in fast_io
> mode.  But some places are still left with possible sleep in the lock,
> typically allocating memory with GFP_KERNEL.  This patch fixes these
> calls by moving the allocations out of the lock.

You should have split these two unrelated changes into two patches.  I
already have a fix for the cache sync in my tree locally which I will
test just a soon as I fix whatever broke the -next build for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140318/30401c13/attachment.sig>


More information about the Alsa-devel mailing list