From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 12 Nov 2006 21:29:48 -0800 (PST) From: Christoph Lameter Subject: Re: [hugepage] Fix unmap_and_free_vma backout path In-Reply-To: <20061113051318.GD27042@localhost.localdomain> Message-ID: References: <20061113051318.GD27042@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: 'David Gibson' Cc: Andrew Morton , "Chen, Kenneth W" , Hugh Dickins , bill.irwin@oracle.com, Adam Litke , linux-mm@kvack.org List-ID: On Mon, 13 Nov 2006, 'David Gibson' wrote: > This may not be all we want. Even with this patch, performing such a > failing map on to of an existing mapping will clobber (unmap) that > pre-existing mapping. This is in contrast to the analogous situation > with normal page mappings - mapping on top with a misaligned offset > will fail early enough not to clobber the pre-existing mapping. Then it is best to check the huge page alignment at the same place as regular alignment. -- 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/ . Don't email: email@kvack.org