From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 10 Apr 2006 15:27:48 -0500 From: Dave McCracken Subject: Re: [RFC/PATCH] Shared Page Tables [0/2] Message-ID: <1083771BBA2E79327C70D039@[10.1.1.4]> In-Reply-To: References: <1144685588.570.35.camel@wildcat.int.mccr.org> <200ED4FEFEB8AA8427120DE7@[10.1.1.4]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Hugh Dickins , Linux Kernel Mailing List , Linux Memory Management , Adam Litke , wli@holomorphy.com List-ID: --On Monday, April 10, 2006 13:20:59 -0700 Christoph Lameter wrote: >> The lock changes to hugetlb are only to support sharing of pmd pages when >> they contain hugetlb pages. They just substitute the struct page lock >> for the page_table_lock, and are only about 30 lines of code. Is this >> really worth separating out? > > Ia64 does not use pmd pages for huge pages. It relies instead on a > separate region. I wonder if this works on IA64. Sharing of hugetlb page tables is enabled on a per-architecture basis, so if ia64 doesn't use pmd pages we shouldn't try to enable it. If it's not enabled all the locking in hugetlb resolves to using page_table_lock, so the original semantics will be preserved. Dave McCracken -- 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