The patch titled suspend to disk fails if gdb is suspended with a traced child has been removed from the -mm tree. Its filename was suspend-to-disk-fails-if-gdb-is-suspended-with-a-traced-child.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: suspend to disk fails if gdb is suspended with a traced child From: "Rafael J. Wysocki" <rjw@xxxxxxx> Fix http://bugzilla.kernel.org/show_bug.cgi?id=7534 Fix the freezing of processes so that it won't fail if there is a traced process the parent of which has been stopped. Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx> Acked-by: Pavel Machek <pavel@xxxxxx> Cc: maurice barnum <pixi+kbug@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/power/process.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN kernel/power/process.c~suspend-to-disk-fails-if-gdb-is-suspended-with-a-traced-child kernel/power/process.c --- a/kernel/power/process.c~suspend-to-disk-fails-if-gdb-is-suspended-with-a-traced-child +++ a/kernel/power/process.c @@ -97,7 +97,9 @@ int freeze_processes(void) continue; if (frozen(p)) continue; - if (p->state == TASK_TRACED && frozen(p->parent)) { + if (p->state == TASK_TRACED && + (frozen(p->parent) || + p->parent->state == TASK_STOPPED)) { cancel_freezing(p); continue; } _ Patches currently in -mm which might be from rjw@xxxxxxx are origin.patch git-acpi.patch md-change-lifetime-rules-for-md-devices.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html