Re: scheduling while atomic and DEBUG_SPINLOCK_SLEEP

2007-06-27 Thread Arjan van de Ven
On Wed, 2007-06-27 at 02:26 -0400, Jon Ringle wrote: > Arjan van de Ven wrote: > > On Tue, 2007-06-26 at 22:55 -0400, Jon Ringle wrote: > > > >> Hello, > >> Out of these two, the first one that is showing "in_atomic():1" seems > >> more likely to me to be a potential cause of the "scheduling whi

Re: scheduling while atomic and DEBUG_SPINLOCK_SLEEP

2007-06-26 Thread Jon Ringle
Arjan van de Ven wrote: On Tue, 2007-06-26 at 22:55 -0400, Jon Ringle wrote: Hello, Out of these two, the first one that is showing "in_atomic():1" seems more likely to me to be a potential cause of the "scheduling while atomic" dump. Does this logic seem reasonable? Are there other debuggin

Re: scheduling while atomic and DEBUG_SPINLOCK_SLEEP

2007-06-26 Thread Arjan van de Ven
On Tue, 2007-06-26 at 22:55 -0400, Jon Ringle wrote: > Hello, > Out of these two, the first one that is showing "in_atomic():1" seems > more likely to me to be a potential cause of the "scheduling while > atomic" dump. > > Does this logic seem reasonable? Are there other debugging techniques I > c

scheduling while atomic and DEBUG_SPINLOCK_SLEEP

2007-06-26 Thread Jon Ringle
Hello, I am sometimes getting the following "scheduling while atomic" dump: [42949427.37] scheduling while atomic: sh/0x0002/144 [42949427.38] [] (dump_stack+0x0/0x14) from [] (schedule+0x628/0x6c8) [42949427.39] [] (schedule+0x0/0x6c8) from [] (__down_read+0xc4/0x128) [42949427.4