summaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorRafael J. Wysocki2007-05-23 22:57:26 +0200
committerLinus Torvalds2007-05-24 05:14:11 +0200
commit49b12d4f5e274517b8bc032d507abf31cc2f4150 (patch)
tree4663d224a86ea848742716f6f4ec708e9a3c04b3 /kernel/kthread.c
parentfreezer: fix vfork problem (diff)
downloadkernel-qcow2-linux-49b12d4f5e274517b8bc032d507abf31cc2f4150.tar.gz
kernel-qcow2-linux-49b12d4f5e274517b8bc032d507abf31cc2f4150.tar.xz
kernel-qcow2-linux-49b12d4f5e274517b8bc032d507abf31cc2f4150.zip
freezer: take kernel_execve into consideration
Kernel threads can become userland processes by calling kernel_execve(). In particular, this may happen right after the try_to_freeze_tasks() called with FREEZER_USER_SPACE has returned, so try_to_freeze_tasks() needs to take userspace processes into consideration even if it is called with FREEZER_KERNEL_THREADS. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: Gautham R Shenoy <ego@in.ibm.com> Cc: Oleg Nesterov <oleg@tv-sign.ru> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions