Thread (1 message) 1 message, 1 author, 2012-04-20

BUG: sleeping function called from invalid context at /usr/local/src/linux-3.4-rc1/include/linux/freezer.h:46

From: Rabin Vincent <hidden>
Date: 2012-04-20 12:28:51
Also in: lkml

On Wed, Apr 4, 2012 at 12:32, Lothar Wa?mann [off-list ref] wrote:
commit a0acae0e added a might_sleep() to try_to_freeze() in
include/linux/freezer.h.
This leads to the following BUG message each time a process is started
when compiled with CONFIG_DEBUG_ATOMIC_SLEEP=y

|BUG: sleeping function called from invalid context at /usr/local/src/linux-3.4-rc1/include/linux/freezer.h:46
|in_atomic(): 0, irqs_disabled(): 128, pid: 619, name: rc
This is on ARM, right?  In this old thread, there is a patch from
Russell which fixes it, but it seems to have not been applied:

https://lkml.org/lkml/2011/8/25/231
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help