[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] dm-block-manager: use spinlocks that don't disable interrupts



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 :))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]