]> git.baikalelectronics.ru Git - kernel.git/commit
debug: softlockup looping fix
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 1 Feb 2008 23:23:08 +0000 (00:23 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 Feb 2008 03:27:45 +0000 (14:27 +1100)
commit15529b8b06ac2e42274c56a8ac82f2340fab6ab1
tree8df8f5d8b4ce057bf0df7ee2996603fdd18e0e7e
parent44f287cd28e75c24180b557fc14a977a09793b59
debug: softlockup looping fix

Rafael J. Wysocki reported weird, multi-seconds delays during
suspend/resume and bisected it back to:

  commit 3e80a01204f0e29b3e406c7d5929b283093ccd07
  Author: Ingo Molnar <mingo@elte.hu>
  Date:   Fri Jan 25 21:08:02 2008 +0100

      softlockup: automatically detect hung TASK_UNINTERRUPTIBLE tasks

fix it:

 - restore the old wakeup mechanism
 - fix break usage in do_each_thread() { } while_each_thread().
 - fix the hotplug switch stmt, a fall-through case was broken.

Bisected-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/softlockup.c