Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161137AbXBGKTK (ORCPT ); Wed, 7 Feb 2007 05:19:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161140AbXBGKTJ (ORCPT ); Wed, 7 Feb 2007 05:19:09 -0500 Received: from ns1.suse.de ([195.135.220.2]:57004 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161137AbXBGKTI (ORCPT ); Wed, 7 Feb 2007 05:19:08 -0500 From: Andi Kleen To: KAMEZAWA Hiroyuki Subject: Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node Date: Wed, 7 Feb 2007 11:19:02 +0100 User-Agent: KMail/1.9.5 Cc: linux-kernel@vger.kernel.org, y-goto@jp.fujitsu.com, clameter@engr.sgi.com, akpm@osdl.org References: <20070206202312.4f979bcf.kamezawa.hiroyu@jp.fujitsu.com> <20070207190738.30f1d419.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20070207190738.30f1d419.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702071119.03125.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 909 Lines: 21 > AFAIK, ia64 creates nodes just depends on SRAT's possible resource information. > Then, ia64 can create cpu-memory-less-node(node with no available resource.). > (*)I don't like this. > > If we don't allow memory-less-node, we may have to add several codes for cpu-hot-add. > cpus should be moved to nearby node at hotadd . > And node-hot-add have to care that cpus mustn't be added before memory, cpu-driven > node-hot-add will never occur. (ACPI's 'container' device spec can't guaranntee this.) You can also alias node numbers to solve this: just point multiple node numbers to the same pgdat. For a memory less node this would be a nearby one. -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/