Re: Fix for genalloc locking

From: Randy Dunlap
Date: Tue Oct 21 2008 - 11:40:46 EST


On Fri, 17 Oct 2008 16:43:12 +1000 Iwo Mergler wrote:

> Hi,
>
> I hit a little problem while using genalloc with a mix
> of interrupt/non-interrupt context. I believe the correct
> fix is to replace the locking calls with the _irqsave/_irqrestore
> variants. Patch follows.
>
> Is this correct?
>
> BTW, is there any documentation on the Lockdep warnings?
> What exactly is the meaning of {--+.} in
>
> (&pool->lock){--+.}, at: [<c0125d1c>] gen_pool_free+0x34/0x120

Did you read Documentation/lockdep-design.txt ?

---
~Randy
--
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/