Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750720AbVJJJfF (ORCPT ); Mon, 10 Oct 2005 05:35:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750721AbVJJJfE (ORCPT ); Mon, 10 Oct 2005 05:35:04 -0400 Received: from mx2.suse.de ([195.135.220.15]:41428 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S1750720AbVJJJfD (ORCPT ); Mon, 10 Oct 2005 05:35:03 -0400 From: Andi Kleen To: "Chen, Kenneth W" Subject: Re: FW: [PATCH 0/3] Demand faulting for huge pages Date: Mon, 10 Oct 2005 11:32:04 +0200 User-Agent: KMail/1.8.2 Cc: "'Hugh Dickins'" , "Seth, Rohit" , "William Irwin" , agl@us.ibm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@osdl.org References: <200510100651.j9A6pZg13871@unix-os.sc.intel.com> In-Reply-To: <200510100651.j9A6pZg13871@unix-os.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510101132.05620.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1479 Lines: 30 On Monday 10 October 2005 08:51, Chen, Kenneth W wrote: > Demand paging is one aspect of enhancing generality of hugetlb. Intel > initially proposed the feature 18 month ago [* see link below] along > with SGI. Christoph Lameter at SGI scratched that subject Oct 2004. > And now, Adam at IBM attempts it again. There is a growing need to > make hugetlb easier to use, more transparency in using hugetlb pages > etc. All requires hugetlb code to be more generalized, instead of > reducing functionality. It's also badly needed to make hugetlbfs NUMA policy aware. mbind requires allocation on demand, because it runs after mmap and cannot fix up the policy when the pages are already allocated. > Granted, the patch I posted on expanding ftruncate will be replaced > once demand paging goes in. I wanted to demonstrate that it is a > feature we should implement, instead of cutting back more on current > thin functionality in hugetlbfs. (with demand paging, expanding > ftruncate should be really easy and clean, instead of "peculiar > semantics" all because of prefaulting). I would like to have it. I remember hating to implement extending truncate by hand when I did the test programs for the hugetlbfs numa policy. -Andi - 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/