Re: linux-next: manual merge of the rr tree with the sound tree

From: Arnd Bergmann
Date: Tue Jul 13 2010 - 07:52:04 EST


On Tuesday 13 July 2010, Stephen Rothwell wrote:
> Overlapping additions. I fixed it up (see below) and carry the fix as necessary.
>
> I was not sure if the kparam_(un)block_sysfs_write() calls needed to be
> surrounded by the (un)lock_kernel() calls or vice verse.

Either way should be fine, since the BKL does not suffer from AB-BA deadlocks
with mutexes. I would generally recommend making the BKL the outermost
lock to make it easier to conver to a mutex. That is how you did it too.

Thanks,

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/