[PATCH] Make suspend possible with a traced process at a breakpoint
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 5 Aug 2006 19:13:42 +0000 (12:13 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 6 Aug 2006 15:57:45 +0000 (08:57 -0700)
commita7ef7878ea7c8bca9b624db3f61223cdadda2a0a
tree3727435826f2fe3d054f0f3fbc3e60f2b37d8bad
parentf5d635f649607b09b0b4620d25d028fd2b1b7ea5
[PATCH] Make suspend possible with a traced process at a breakpoint

It should be possible to suspend, either to RAM or to disk, if there's a
traced process that has just reached a breakpoint.  However, this is a
special case, because its parent process might have been frozen already and
then we are unable to deliver the "freeze" signal to the traced process.
If this happens, it's better to cancel the freezing of the traced process.

Ref. http://bugzilla.kernel.org/show_bug.cgi?id=6787

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/sched.h
kernel/power/process.c