Re: [PATCH] Reserved root VM + OOM killer

From: Rik van Riel (riel@conectiva.com.br)
Date: Wed Nov 22 2000 - 15:40:07 EST


On Wed, 22 Nov 2000, Szabolcs Szakacsits wrote:

> - OOM killing takes place only in do_page_fault() [no two places in
> the kernel for process killing]

... disable OOM killing for non-x86 architectures.
This doesn't seem like a smart move ;)

> diff -urw linux-2.2.18pre21/arch/i386/mm/Makefile linux/arch/i386/mm/Makefile
> --- linux-2.2.18pre21/arch/i386/mm/Makefile Fri Nov 1 04:56:43 1996
> +++ linux/arch/i386/mm/Makefile Tue Nov 21 03:03:15 2000
> @@ -8,6 +8,6 @@
> # Note 2! The CFLAGS definition is now in the main makefile...
>
> O_TARGET := mm.o
> -O_OBJS := init.o fault.o ioremap.o extable.o
> +O_OBJS := init.o fault.o ioremap.o extable.o ../../../mm/oom_kill.o
>
> include $(TOPDIR)/Rules.make

Rik

--
Hollywood goes for world dumbination,
	Trailer at 11.

http://www.conectiva.com/ http://www.surriel.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:24 EST