From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20010327172354.A160@bug.ucw.cz> Date: Tue, 27 Mar 2001 17:23:54 +0200 From: Pavel Machek Subject: Re: [PATCH] non-overcommit memory, improved OOM handling, safety margin (was Re: Prevent OOM from killing init) References: <3ABE0F32.5255DF30@evision-ventures.com> <4.3.2.7.2.20010325123201.00be27d0@mail.fluent-access.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Jonathan Morton on Sun, Mar 25, 2001 at 10:51:09PM +0100 Sender: owner-linux-mm@kvack.org Return-Path: To: Jonathan Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: douglas@fang.demon.co.uk List-ID: Hi! > The attached patch is against 2.4.1 and incorporates the following: The patch seems to be word-wrapped... Pavel > diff -ur -x via-rhine* linux-2.4.1.orig/fs/exec.c linux/fs/exec.c > --- > linux-2.4.1.orig/fs/exec.c Tue Jan 30 07:10:58 2001 > +++ > linux/fs/exec.c Sun Mar 25 17:05:03 2001 > @@ -385,19 +385,27 @@ > static int > exec_mmap(void) > { > struct mm_struct * mm, * old_mm; > + struct > task_struct * tsk = current; > + unsigned long reserved = 0; > > - old_mm = > current->mm; -- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/