[dm-devel] [PATCH] dm-block-manager: use spinlocks that don't disable interrupts
Christoph Hellwig
hch at infradead.org
Mon Sep 12 13:57:42 UTC 2011
On Mon, Sep 12, 2011 at 07:24:48AM -0400, Mikulas Patocka wrote:
> dm-block-manager: use spinlocks that don't disable interrupts
>
> This will never be called in an interrupt context, so we don't have to use
> spinlocks that disable interrupts.
The code looks like a re-implementation of rw_semaphores to me.
Is there any good reason to do this? (hint: normally there isn't :))
More information about the dm-devel
mailing list