summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup_freezer.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-02-07 20:58:37 +0100
committerIngo Molnar <mingo@kernel.org>2014-02-22 18:07:36 +0100
commit77177856e3bf39d435b3ae4bfd164ca3c8cd4577 (patch)
tree846164e37a2e848e3192b69422335ec284a21f04 /kernel/cgroup_freezer.c
parentdc87734106bb6e97c92d8bd81f261fb71976ec2c (diff)
downloadblackbird-op-linux-77177856e3bf39d435b3ae4bfd164ca3c8cd4577.tar.gz
blackbird-op-linux-77177856e3bf39d435b3ae4bfd164ca3c8cd4577.zip
sched: Init idle->on_rq in init_idle()
We stumbled in RT over a SMP bringup issue on ARM where the idle->on_rq == 0 was causing try_to_wakeup() on the other cpu to run into nada land. After adding that idle->on_rq = 1; I was able to find the root cause of the lockup: the idle task on the newly woken up cpu was fiddling with a sleeping spinlock, which is a nono. I kept the init of idle->on_rq to keep the state consistent and to avoid another long lasting debug session. As a side note, the whole debug mess could have been avoided if might_sleep() would have yelled when called from the idle task. That's fixed with patch 2/6 - and that one actually has a changelog :) Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1391803122-4425-2-git-send-email-bigeasy@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/cgroup_freezer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud