From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id 52B996B004D for ; Mon, 17 Aug 2009 09:53:40 -0400 (EDT) Subject: Re: [PATCH 0/3] Add pseudo-anonymous huge page mappings V3 From: Andi Kleen References: Date: Mon, 17 Aug 2009 15:53:41 +0200 In-Reply-To: (Eric B. Munson's message of "Fri, 14 Aug 2009 15:08:46 +0100") Message-ID: <87d46usg0q.fsf@basil.nowhere.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org To: Eric B Munson Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-man@vger.kernel.org, akpm@linux-foundation.org, mtk.manpages@gmail.com List-ID: Eric B Munson writes: > This patch set adds a flag to mmap that allows the user to request > a mapping to be backed with huge pages. This mapping will borrow > functionality from the huge page shm code to create a file on the > kernel internal mount and uses it to approximate an anonymous > mapping. The MAP_HUGETLB flag is a modifier to MAP_ANONYMOUS > and will not work without both flags being preset. You seem to have forgotten to describe WHY you want this? >>From my guess, this seems to be another step into turning hugetlb.c into another parallel VM implementation. Instead of basically developing two parallel VMs wouldn't it be better to unify the two? I think extending hugetlb.c forever without ever thinking about that is not the right approach. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- 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