Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262451AbVESIYE (ORCPT ); Thu, 19 May 2005 04:24:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262442AbVESIYE (ORCPT ); Thu, 19 May 2005 04:24:04 -0400 Received: from fire.osdl.org ([65.172.181.4]:31926 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S262451AbVESIYB (ORCPT ); Thu, 19 May 2005 04:24:01 -0400 Date: Thu, 19 May 2005 01:23:45 -0700 From: Chris Wright To: Arjan van de Ven Cc: Chris Wright , Linus Torvalds , Rik van Riel , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] prevent NULL mmap in topdown model Message-ID: <20050519082345.GI23013@shell0.pdx.osdl.net> References: <20050519064657.GH23013@shell0.pdx.osdl.net> <1116490511.6027.25.camel@laptopd505.fenrus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1116490511.6027.25.camel@laptopd505.fenrus.org> User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 901 Lines: 18 * Arjan van de Ven (arjan@infradead.org) wrote: > On Wed, 2005-05-18 at 23:46 -0700, Chris Wright wrote: > > I gave it a quick and simple test. Worked as expected. Last page got > > mapped at 0x1000, leaving first page unmapped. Of course, either with > > MAP_FIXED or w/out MAP_FIXED but proper hint (like -1) you can still > > map first page. This isn't to say I was extra creative in testing. > > sure. Making it *impossible* to mmap that page is bad. People should be > able to do that if they really want to, just doing it if they don't ask > for it is bad. Heh, that was actually my intended point ;-) At any rate, you made it clearer, thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/