android_kernel_samsung_msm8976/include
Rafael J. Wysocki ba96a0c880 freezer: fix vfork problem
Currently try_to_freeze_tasks() has to wait until all of the vforked processes
exit and for this reason every user can make it fail.  To fix this problem we
can introduce the additional process flag PF_FREEZER_SKIP to be used by tasks
that do not want to be counted as freezable by the freezer and want to have
TIF_FREEZE set nevertheless.  Then, this flag can be set by tasks using
sys_vfork() before they call wait_for_completion(&vfork) and cleared after
they have woken up.  After clearing it, the tasks should call try_to_freeze()
as soon as possible.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Pavel Machek <pavel@ucw.cz>
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>
2007-05-23 20:14:11 -07:00
..
acpi
asm-alpha
asm-arm Merge master.kernel.org:/home/rmk/linux-2.6-arm 2007-05-21 10:00:22 -07:00
asm-arm26
asm-avr32
asm-blackfin Blackfin arch: Change NO_ACCESS_CHECK to ACCESS_CHECK 2007-05-21 09:50:23 -07:00
asm-cris
asm-frv
asm-generic kbuild: introduce __init_refok/__initdata_refok to supress section mismatch warnings 2007-05-19 09:11:58 +02:00
asm-h8300
asm-i386 Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
asm-ia64 [IA64] Fix bogus messages about system calls not implemented. 2007-05-18 14:15:58 -07:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
asm-parisc Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
asm-powerpc Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
asm-ppc
asm-s390 [S390] Wire up signald, timerfd and eventfd syscalls. 2007-05-21 11:25:28 +02:00
asm-sh sh: Fix dreamcast build for IRQ changes. 2007-05-21 15:10:04 +09:00
asm-sh64
asm-sparc
asm-sparc64
asm-um
asm-v850
asm-x86_64 Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
asm-xtensa
crypto
keys
linux freezer: fix vfork problem 2007-05-23 20:14:11 -07:00
math-emu
media
mtd
net
pcmcia
rdma Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2007-05-21 16:19:32 -07:00
rxrpc
scsi
sound
video
Kbuild