You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nick Piggin
1c0fe6e3bd
mm: invoke oom-killer from page fault
...
Rather than have the pagefault handler kill a process directly if it gets
a VM_FAULT_OOM, have it call into the OOM killer.
With increasingly sophisticated oom behaviour (cpusets, memory cgroups,
oom killing throttling, oom priority adjustment or selective disabling,
panic on oom, etc), it's silly to unconditionally kill the faulting
process at page fault time. Create a hook for pagefault oom path to call
into instead.
Only converted x86 and uml so far.
[akpm@linux-foundation.org: make __out_of_memory() static]
[akpm@linux-foundation.org: fix comment]
Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Jeff Dike <jdike@addtoit.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years ago
..
boot
Merge branches 'x86/apic', 'x86/cleanups', 'x86/cpufeature', 'x86/crashdump', 'x86/debug', 'x86/defconfig', 'x86/detect-hyper', 'x86/doc', 'x86/dumpstack', 'x86/early-printk', 'x86/fpu', 'x86/idle', 'x86/io', 'x86/memory-corruption-check', 'x86/microcode', 'x86/mm', 'x86/mtrr', 'x86/nmi-watchdog', 'x86/pat2', 'x86/pci-ioapic-boot-irq-quirks', 'x86/ptrace', 'x86/quirks', 'x86/reboot', 'x86/setup-memory', 'x86/signal', 'x86/sparse-fixes', 'x86/time', 'x86/uv' and 'x86/xen' into x86/core
16 years ago
configs
x86: revert CONFIG_RELOCATABLE=y defconfig change
16 years ago
crypto
crypto: crc32c-intel - Switch to shash
16 years ago
ia32
x86: introducing asm/sys_ia32.h
16 years ago
include/ asm
Merge branch 'cpus4096-for-linus-3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
16 years ago
kernel
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
16 years ago
kvm
KVM: change KVM to use IOMMU API
16 years ago
lguest
Merge branch 'cpus4096-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
16 years ago
lib
Merge commit 'v2.6.28-rc2' into core/locking
17 years ago
mach-default
x86: mach-default setup.c cleanups
16 years ago
mach-generic
x86 smp: modify send_IPI_mask interface to accept cpumask_t pointers
16 years ago
mach-rdc321x
…
mach-voyager
x86: cleanup some remaining usages of NR_CPUS where s/b nr_cpu_ids
16 years ago
math-emu
…
mm
mm: invoke oom-killer from page fault
16 years ago
oprofile
Merge branch 'oprofile-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
16 years ago
pci
x86, pci: move arch/x86/pci/pci.h to arch/x86/include/asm/pci_x86.h
16 years ago
power
x86, hibernate: fix breakage on x86_32 with CONFIG_NUMA set
16 years ago
scripts
allow stripping of generated symbols under CONFIG_KALLSYMS_ALL
16 years ago
vdso
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
16 years ago
video
…
xen
Merge branch 'cputime' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
16 years ago
Kconfig
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask into merge-rr-cpumask
16 years ago
Kconfig.cpu
X86_DEBUGCTLMSR won't work on uml
16 years ago
Kconfig.debug
Merge branch 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
16 years ago
Makefile
x86, um: ... and asm-x86 move
17 years ago
Makefile_32.cpu
…