remarkable-linux/kernel/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
..
console.c [PATCH] swsusp: fix suspend when console is in VT_AUTO+KD_GRAPHICS mode 2007-03-16 19:25:05 -07:00
disk.c freezer: do not sync filesystems from freeze_processes 2007-10-18 14:37:18 -07:00
Kconfig hibernation doesn't even build on frv - tons of helpers are missing 2007-09-26 09:22:04 -07:00
main.c freezer: do not sync filesystems from freeze_processes 2007-10-18 14:37:18 -07:00
Makefile Introduce CONFIG_SUSPEND for suspend-to-Ram and standby 2007-07-29 16:45:38 -07:00
pm.c
power.h Introduce CONFIG_SUSPEND for suspend-to-Ram and standby 2007-07-29 16:45:38 -07:00
poweroff.c
process.c freezer: do not send signals to kernel threads 2007-10-18 14:37:19 -07:00
snapshot.c Hibernation: do not try to mark invalid PFNs as nosave 2007-08-11 15:47:40 -07:00
swap.c swsusp: introduce restore platform operations 2007-07-19 10:04:42 -07:00
swsusp.c swsusp: free more memory 2007-05-07 12:12:59 -07:00
user.c freezer: do not sync filesystems from freeze_processes 2007-10-18 14:37:18 -07:00