[PATCH] swsusp: freeze user space processes first
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 23 Mar 2006 11:00:04 +0000 (03:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:08 +0000 (07:38 -0800)
commit02aaeb9b952f30b1ad6284d5d45be02030f679db
tree6577fcc544d34fbc9951be5dc1089ac227440573
parent6e1819d615f24ce0726a7d0bd3dd0152d7b21654
[PATCH] swsusp: freeze user space processes first

Allow swsusp to freeze processes successfully under heavy load by freezing
userspace processes before kernel threads.

[Thanks to Nigel Cunningham <nigel@suspend2.net> for suggesting the
way to go.]

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