public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Fix for genalloc locking
@ 2008-10-17  6:43 Iwo Mergler
  2008-10-17  6:46 ` [PATCH] " Iwo Mergler
  2008-10-21 15:39 ` Randy Dunlap
  0 siblings, 2 replies; 4+ messages in thread
From: Iwo Mergler @ 2008-10-17  6:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jes Sorensen

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


Kind regards,

Iwo


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-21 22:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17  6:43 Fix for genalloc locking Iwo Mergler
2008-10-17  6:46 ` [PATCH] " Iwo Mergler
2008-10-21 15:39 ` Randy Dunlap
2008-10-21 22:20   ` Iwo Mergler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox