Re: [ia64] BUG: sleeping in atomic

2007-12-21 Thread Petr Tesarik
David Chinner wrote: > On Wed, Dec 19, 2007 at 11:42:04AM -0500, Kyle McMartin wrote: > >> On Wed, Dec 19, 2007 at 04:54:30PM +1100, David Chinner wrote: >> >>> [ 5667.086055] BUG: sleeping function called from invalid context at >>> kernel/fork.c:401 >>> >>> >> The problem is that

Re: [ia64] BUG: sleeping in atomic

2007-12-19 Thread David Chinner
On Wed, Dec 19, 2007 at 11:42:04AM -0500, Kyle McMartin wrote: > On Wed, Dec 19, 2007 at 04:54:30PM +1100, David Chinner wrote: > > [ 5667.086055] BUG: sleeping function called from invalid context at > > kernel/fork.c:401 > > > > The problem is that mmput is called under the read_lock by > find

Re: [ia64] BUG: sleeping in atomic

2007-12-19 Thread Kyle McMartin
On Wed, Dec 19, 2007 at 04:54:30PM +1100, David Chinner wrote: > [ 5667.086055] BUG: sleeping function called from invalid context at > kernel/fork.c:401 > The problem is that mmput is called under the read_lock by find_thread_for_addr... The comment above seems to indicate that gdb needs to be