alistair23-linux/arch/sh/mm
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
..
cache-debugfs.c sh: Revert incorrect license string changes. 2007-09-24 17:49:51 +09:00
cache-sh2.c
cache-sh3.c sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
cache-sh4.c sh: Calculate cache aliases on L2 caches. 2007-09-24 17:00:45 +09:00
cache-sh7705.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
clear_page.S sh: Fixup various PAGE_SIZE == 4096 assumptions. 2006-12-06 10:45:39 +09:00
consistent.c
copy_page.S sh: __copy_user() optimizations for small copies. 2007-09-28 12:36:35 +09:00
extable.c
fault.c During VM oom condition, kill all threads in process group 2007-10-16 09:42:52 -07:00
hugetlbpage.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
init.c sh: Tidy up dependencies for SH-2 build. 2007-06-11 15:32:07 +09:00
ioremap.c sh: ioremap() through PMB needs asm/mmu.h. 2007-06-04 10:58:23 +09:00
Kconfig sh: Support extended mode TLB on SH-X3. 2007-09-27 18:08:46 +09:00
Makefile sh: nommu: Kill off dummy page fault ops for SH-3/4. 2007-09-24 16:40:56 +09:00
numa.c sh: Support for multiple nodes. 2007-06-08 02:43:49 +00:00
pg-nommu.c
pg-sh4.c sh: Fix fs.h removal from mm.h regressions. 2007-07-31 13:01:43 +09:00
pg-sh7705.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
pmb.c sh: Support explicit L1 cache disabling. 2007-09-21 11:57:46 +09:00
tlb-flush.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
tlb-nommu.c sh: Local TLB flushing variants for SMP prep. 2007-02-13 10:54:45 +09:00
tlb-sh3.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
tlb-sh4.c sh: Fix up extended mode TLB for SH-X2+ cores. 2007-09-21 11:57:55 +09:00