diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-10-19 21:23:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-19 23:04:31 -0700 |
commit | d1209d049bbc3df66650f8417637be4f7b57b604 (patch) | |
tree | 0712622c596cd3ca93234e8eca661240b5fa042b /include/acpi/platform/acenv.h | |
parent | f9b25fabfddf142b5af8268692701d386cf37e4f (diff) | |
download | op-kernel-dev-d1209d049bbc3df66650f8417637be4f7b57b604.zip op-kernel-dev-d1209d049bbc3df66650f8417637be4f7b57b604.tar.gz |
[PATCH] Threads shouldn't inherit PF_NOFREEZE
The PF_NOFREEZE process flag should not be inherited when a thread is
forked. This patch (as585) removes the flag from the child.
This problem is starting to show up more and more as drivers turn to the
kthread API instead of using kernel_thread(). As a result, their kernel
threads are now children of the kthread worker instead of modprobe, and
they inherit the PF_NOFREEZE flag. This can cause problems during system
suspend; the kernel threads are not getting frozen as they ought to be.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/acpi/platform/acenv.h')
0 files changed, 0 insertions, 0 deletions