From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 11 Mar 2002 14:18:12 -0500 From: Benjamin LaHaise Subject: Re: [bkpatch] do_mmap cleanup Message-ID: <20020311141812.A31049@redhat.com> References: <20020308185350.E12425@redhat.com> <20020311120818.A38@toy.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020311120818.A38@toy.ucw.cz>; from pavel@suse.cz on Mon, Mar 11, 2002 at 12:08:18PM +0000 Sender: owner-linux-mm@kvack.org Return-Path: To: Pavel Machek Cc: Linus Torvalds , Linux Kernel , linux-mm@kvack.org List-ID: On Mon, Mar 11, 2002 at 12:08:18PM +0000, Pavel Machek wrote: > Hi! > > > Below is a vm cleanup that can be pulled from bk://bcrlbits.bk.net/vm-2.5 . > > The bulk of the patch is moving the down/up_write on mmap_sem into do_mmap > > and removing that from all the callers. The patch also includes a fix for > > do_mmap which caused mapping of the last page in the address space to fail. > > Was not that a workaround for CPU bugs? Not as far as I recall. In fact it is just leading to more and more duplicated code as every arch writes their own version of the function to allow mapping that last page. (Cleaning up all the sys_mmap calls is next.) -ben -- 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-mm.org/