Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752223AbXLINUl (ORCPT ); Sun, 9 Dec 2007 08:20:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750879AbXLINUd (ORCPT ); Sun, 9 Dec 2007 08:20:33 -0500 Received: from e34.co.us.ibm.com ([32.97.110.152]:41505 "EHLO e34.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750797AbXLINUc (ORCPT ); Sun, 9 Dec 2007 08:20:32 -0500 Message-ID: <475BEB9E.4070606@linux.vnet.ibm.com> Date: Sun, 09 Dec 2007 18:50:30 +0530 From: Balbir Singh Reply-To: balbir@linux.vnet.ibm.com Organization: IBM User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Pavel Machek CC: LKML , linuxppc-dev@ozlabs.org, David Rientjes , Olof Johansson Subject: Re: [PATCH] Fake NUMA emulation for PowerPC References: <20071207211425.10223.91240.sendpatchset@balbir-laptop> <20071207212817.GA391@lixom.net> <4759BCA2.1020809@linux.vnet.ibm.com> <975B5B2B-C1F3-4021-9AE2-8873FFE1BDEC@kernel.crashing.org> <4759C548.6030304@linux.vnet.ibm.com> <475A1BEE.2050109@linux.vnet.ibm.com> <20071209131636.GF4381@ucw.cz> In-Reply-To: <20071209131636.GF4381@ucw.cz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1343 Lines: 34 Pavel Machek wrote: > On Sat 2007-12-08 09:52:06, Balbir Singh wrote: >> David Rientjes wrote: >>> On Sat, 8 Dec 2007, Balbir Singh wrote: >>> >>>> To be able to test the memory controller under NUMA, I use fake NUMA >>>> nodes. x86-64 has a similar feature, the code I have here is the >>>> simplest I could come up with for PowerPC. >>>> >>> Magnus Damm had patches from over a year ago that, I believe, made much of >>> the x86_64 fake NUMA code generic so that it could be extended for >>> architectures such as i386. Perhaps he could resurrect those patches if >>> there is wider interest in such a tool. >> That would be a very interesting patch, but what I have here is the >> simplest patch and we could build on it incrementally. The interface is >> non-standard but it does amazing things for 59 lines of code change. > > Well, maybe it is amazing, but having non-standard interface is also > wrong... > I tend to agree with you, but in this case it's mostly debug infrastructure that is architecture specific. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL -- 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/