[lkml]   [2012]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: BUG: sleeping function called from invalid context at /usr/local/src/linux-3.4-rc1/include/linux/freezer.h:46
On Wed, Apr 4, 2012 at 12:32, Lothar Waßmann <> 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:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2012-04-20 14:31    [W:0.018 / U:0.632 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site