Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755094AbZIVIN3 (ORCPT ); Tue, 22 Sep 2009 04:13:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754073AbZIVIN1 (ORCPT ); Tue, 22 Sep 2009 04:13:27 -0400 Received: from gate.crashing.org ([63.228.1.57]:60159 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035AbZIVINZ (ORCPT ); Tue, 22 Sep 2009 04:13:25 -0400 Subject: Re: [RFC PATCH 0/3] Fix SLQB on memoryless configurations V2 From: Benjamin Herrenschmidt To: David Rientjes Cc: Christoph Lameter , Mel Gorman , Nick Piggin , Pekka Enberg , heiko.carstens@de.ibm.com, sachinp@in.ibm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Tejun Heo , Lee Schermerhorn In-Reply-To: References: <1253549426-917-1-git-send-email-mel@csn.ul.ie> <1253577603.7103.174.camel@pasglop> Content-Type: text/plain Date: Tue, 22 Sep 2009 18:11:17 +1000 Message-Id: <1253607077.7103.219.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1635 Lines: 36 On Tue, 2009-09-22 at 00:59 -0700, David Rientjes wrote: > The equivalent of proximity domains then describes the distance between > all localities; these distances need not be one-way, it is possible for > distance in one direction to be different from the opposite direction, > just as ACPI pxm's allow. > > A "node" in this plan is simply a system locality consisting of memory. > > For subsystems such as slab allocators, all we require is cpu_to_node() > tables which would map cpu localities to nodes and describe them in terms > of local or remote distance (or whatever the SLIT says, if provided). All > present day information can still be represented in this model, we've just > added additional layers of abstraction internally. While I like the idea of NUMA nodes being strictly memory and everything else being expressed by distances, we'll have to clean up quite a few corners with skeletons in various states of decompositions waiting for us there. For example, we have code here or there that (ab)uses the NUMA node information to link devices with their iommu, that sort of thing. IE, a hard dependency which isn't really related to a concept of distance to any memory. At least on powerpc, nowadays, I can pretty much make everything fallback to some representation in the device-tree though, thus it shouldn't be -that- hard to fix I suppose. Cheers, Ben. -- 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/