]> git.karo-electronics.de Git - linux-beck.git/commit
sched: Switch wait_task_inactive to schedule_hrtimeout()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 23 Feb 2011 23:52:21 +0000 (23:52 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 25 Feb 2011 19:24:22 +0000 (20:24 +0100)
commit8eb90c30e0e815a1308828352eabd03ca04229dd
treecc41c26975f8ab4e9f3ed734f1bdad9b3774685a
parent0c4602ff88d6d6ef0ee6d228ee9acaa6448ff6f5
sched: Switch wait_task_inactive to schedule_hrtimeout()

When we force thread hard and soft interrupts the startup of ksoftirqd
would hang in kthread_bind() when wait_task_inactive() calls
schedule_timeout_uninterruptible() because there is no softirq yet
which will wake us up.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20110223234956.677109139@linutronix.de>
kernel/sched.c