original_kernel/arch/arm
Will Schmidt dcca2bde4f During VM oom condition, kill all threads in process group
We have had complaints where a threaded application is left in a bad state
after one of it's threads is killed when we hit a VM: out_of_memory
condition.

Killing just one of the process threads can leave the application in a bad
state, whereas killing the entire process group would allow for the
application to restart, or be otherwise handled, and makes it very obvious
that something has gone wrong.

This change allows the entire process group to be taken down, rather
than just the one thread.

Signed-off-by: Will Schmidt <will_schmidt@vnet.ibm.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Ian Molton <spyro@f2s.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Andi Kleen <ak@suse.de>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Matthew Wilcox <willy@debian.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
Cc: Richard Curnow <rc@rc0.org.uk>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:42:52 -07:00
..
boot [ARM] 4558/1: pxa: remove MACH_TYPE_LUBBOCK assignment and leave it to boot loader 2007-10-12 21:15:28 +01:00
common Merge branch 'pxa' into devel 2007-10-15 18:56:02 +01:00
configs Merge branch 'pxa' into devel 2007-10-15 18:56:02 +01:00
kernel Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
lib
mach-aaec2000
mach-at91 [ARM] 4539/1: clocksource and clockevents for at91rm9200 2007-10-12 23:43:15 +01:00
mach-clps711x
mach-clps7500 [ARM] cleanup struct irqaction initializers 2007-10-12 23:43:20 +01:00
mach-davinci
mach-ebsa110
mach-ep93xx [ARM] 4572/1: ep93xx: add cirrus logic edb9307 support 2007-10-12 23:43:44 +01:00
mach-footbridge [ARM] Add rtc-cmos driver for ISA-based footbridge platforms 2007-10-12 23:43:32 +01:00
mach-h720x
mach-imx Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-10-12 15:42:01 -07:00
mach-integrator
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp4xx
mach-ixp23xx
mach-ixp2000
mach-ks8695
mach-l7200
mach-lh7a40x
mach-mx3
mach-netx
mach-ns9xxx [ARM] 4595/1: ns9xxx: define registers as void __iomem * instead of volatile u32 2007-10-12 23:43:41 +01:00
mach-omap1 Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-10-15 16:08:50 -07:00
mach-omap2
mach-pnx4008
mach-pxa [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
mach-realview
mach-rpc
mach-s3c2400
mach-s3c2410 [ARM] 4566/1: s3c24xx: fix dma functions section mismatch 2007-10-12 23:43:15 +01:00
mach-s3c2412 [ARM] 4596/1: S3C2412: Correct IRQs for SDI+CF and add decoding support 2007-10-12 23:43:42 +01:00
mach-s3c2440 [ARM] 4566/1: s3c24xx: fix dma functions section mismatch 2007-10-12 23:43:15 +01:00
mach-s3c2442
mach-s3c2443 [ARM] 4566/1: s3c24xx: fix dma functions section mismatch 2007-10-12 23:43:15 +01:00
mach-sa1100 [CPUFREQ] move policy's governor initialisation out of low-level drivers into cpufreq core 2007-10-04 18:40:57 -04:00
mach-shark
mach-versatile
mm During VM oom condition, kill all threads in process group 2007-10-16 09:42:52 -07:00
nwfpe [ARM] 4581/1: Fix the conditional execution of the NWFPE instructions 2007-10-12 23:43:22 +01:00
oprofile
plat-iop
plat-mxc
plat-omap Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-10-15 16:08:50 -07:00
plat-s3c
plat-s3c24xx [ARM] 4587/1: S3C24XX: Add magic number before resume code 2007-10-12 23:43:30 +01:00
tools
vfp
Kconfig Merge branch 'pxa' into devel 2007-10-15 18:56:02 +01:00
Kconfig-nommu [ARM] 4532/1: allow configuration of processor ID 2007-10-12 23:43:02 +01:00
Kconfig.debug
Makefile [ARM] 4600/1: fix kernel build failure with build-id-supporting binutils 2007-10-12 23:43:50 +01:00