Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262409AbVESGrL (ORCPT ); Thu, 19 May 2005 02:47:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262421AbVESGrL (ORCPT ); Thu, 19 May 2005 02:47:11 -0400 Received: from fire.osdl.org ([65.172.181.4]:51873 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S262409AbVESGrI (ORCPT ); Thu, 19 May 2005 02:47:08 -0400 Date: Wed, 18 May 2005 23:46:57 -0700 From: Chris Wright To: Linus Torvalds Cc: Rik van Riel , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] prevent NULL mmap in topdown model Message-ID: <20050519064657.GH23013@shell0.pdx.osdl.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 723 Lines: 14 * Linus Torvalds (torvalds@osdl.org) wrote: > However, it would be good to have even the trivial patch tested. > Especially since what it tries to fix is a total corner-case in the first > place.. 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. - 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/