Thread (8 messages) flat view 8 messages, 3 authors, 2012-04-18

BUG: scheduling while atomic

From: Dave Hylands <hidden>
Date: 2012-04-18 07:31:25

Hi Arun,

On Tue, Apr 17, 2012 at 11:44 PM, Arun KS [off-list ref] wrote:
Hello Guys,

System is working normal after this BUG.
PC is at 0x400b4614, probably a mmaped address.

Just wondering how can this BUG happen when a process is running in user
space.

Can it be something like this
1) enter to kernel from userspace through some system call.
2) kernel disables the interrupt and return to user space.
Don't do that.
3) and now it can happen in user space?
Because something in userspace made a blocking call which would cause
a context switch to occur and your driver erroneously left interrupts
disabled.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help