Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751215AbVKKVbi (ORCPT ); Fri, 11 Nov 2005 16:31:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751216AbVKKVbi (ORCPT ); Fri, 11 Nov 2005 16:31:38 -0500 Received: from holomorphy.com ([66.93.40.71]:39375 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S1751215AbVKKVbi (ORCPT ); Fri, 11 Nov 2005 16:31:38 -0500 Date: Fri, 11 Nov 2005 13:23:51 -0800 From: William Lee Irwin III To: Christoph Lameter Cc: Adam Litke , linux-mm@kvack.org, ak@suse.de, linux-kernel@vger.kernel.org, kenneth.w.chen@intel.com Subject: Re: [RFC] NUMA memory policy support for HUGE pages Message-ID: <20051111212351.GT29402@holomorphy.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: The Domain of Holomorphy User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1269 Lines: 24 On Fri, Nov 11, 2005 at 10:56:50AM -0800, Christoph Lameter wrote: > Well since we got through respecting cpusets and allocating a page nearer > to the processors so easy lets go for the full thing. Here is a draft of > a patch that implements full NUMA policy support for it on top of the > cpusets and the NUMA near allocation patch. > I am not sure that this is the right way to do it. Maybe we better put the > whole allocator into the policy layer like alloc_pages_vma? > I needed to add two parameters to alloc_huge_page in order to get the > allocation right for all policy cases. This means that find_lock_page > has a plethora of parameters now. Maybe idx and the mapping could be > deduced from addr and vma? I've been awash in good hugetlb patches lately, and here's another one. I don't have any strong feelings about this (apart from the code quality observation), so could someone who has an interest in mempolicy affairs (Andi, Adam, et al) chime in and say this is the way people want to go? -- wli - 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/