lkml.org 
[lkml]   [2008]   [Oct]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 17 Oct 2008 16:43:12 +1000
FromIwo Mergler <>
SubjectFix for genalloc locking
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



\
 
 \ /
  Last update: 2008-10-17 07:47    [from the cache]
©2003-2008