linux/Documentation/power
Rafael J. Wysocki d5d8c5976d freezer: do not send signals to kernel threads
The freezer should not send signals to kernel threads, since that may lead to
subtle problems.  In particular, commit
b74d0deb96 has changed recalc_sigpending_tsk()
so that it doesn't clear TIF_SIGPENDING.  For this reason, if the freezer
continues to send fake signals to kernel threads and the freezing of kernel
threads fails, some of them may be running with TIF_SIGPENDING set forever.

Accordingly, recalc_sigpending_tsk() shouldn't set the task's TIF_SIGPENDING
flag if TIF_FREEZE is set.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Nigel Cunningham <nigel@nigel.suspend2.net>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-18 14:37:19 -07:00
..
00-INDEX Add Documentation/power/00-INDEX 2007-10-17 08:43:06 -07:00
basic-pm-debugging.txt Documentation: Ask driver writers to provide PM support 2007-05-08 11:14:59 -07:00
devices.txt updated Documentation/power/devices.txt 2006-09-25 21:08:37 -07:00
drivers-testing.txt Fix wrong filename reference in drivers-testing.txt 2007-10-17 08:43:00 -07:00
freezing-of-tasks.txt freezer: do not send signals to kernel threads 2007-10-18 14:37:19 -07:00
interface.txt PM: Rename struct pm_ops and related things 2007-10-18 14:37:18 -07:00
notifiers.txt PM: introduce hibernation and suspend notifiers 2007-07-19 10:04:42 -07:00
pci.txt PCI: remove useless pci driver method 2007-07-11 16:02:08 -07:00
s2ram.txt [PATCH] s2ram debugging documentation 2006-12-07 08:39:28 -08:00
states.txt power management: remove firmware disk mode 2007-04-30 16:40:40 -07:00
swsusp-and-swap-files.txt [PATCH] swsusp: update userland interface documentation 2006-12-07 08:39:27 -08:00
swsusp-dmcrypt.txt [PATCH] swsusup with dm-crypt mini howto 2005-09-05 00:06:17 -07:00
swsusp.txt Freezer: make kernel threads nonfreezable by default 2007-07-17 10:23:02 -07:00
tricks.txt Fix typos in Documentation/: 'S' 2006-10-03 22:55:17 +02:00
userland-swsusp.txt PM: Separate hibernation code from suspend code 2007-05-09 12:30:48 -07:00
video_extension.txt [PATCH] acpi: fix video docs 2005-06-25 16:24:32 -07:00
video.txt Fix typos in Documentation/: 'N'-'P' 2006-10-03 22:52:05 +02:00