Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751413AbWBQN3N (ORCPT ); Fri, 17 Feb 2006 08:29:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932282AbWBQN3M (ORCPT ); Fri, 17 Feb 2006 08:29:12 -0500 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:985 "EHLO fgwmail7.fujitsu.co.jp") by vger.kernel.org with ESMTP id S1751413AbWBQN3K (ORCPT ); Fri, 17 Feb 2006 08:29:10 -0500 Date: Fri, 17 Feb 2006 22:28:17 +0900 From: Yasunori Goto To: Andrew Morton Subject: [PATCH: 000/012] Memory hotplug for new nodes v.2. Cc: "Luck, Tony" , Andi Kleen , "Tolentino, Matthew E" , Dave Hansen , Joel Schopp , linux-ia64@vger.kernel.org, Linux Kernel ML , x86-64 Discuss X-Mailer-Plugin: BkASPil for Becky!2 Ver.2.063 Message-Id: <20060217210625.4068.Y-GOTO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.24.02 [ja] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1568 Lines: 44 Hello. I'll post newest patches for memory hotadd as V2. In this patch, pgdat is allocated when new node is comming. To initialize pgdat and zones, a set of patches are necessary. - to call memory_hotplug code from acpi container driver. - to allcate and initialize pgdat, zone, zonelist. - to initialize node_data[] array (ia64) - to register sysfs file for new node. This patch set is not only for ia64 but also for x86-64. Note: - kmalloc is used for pgdat allocation in this version. So, even if pgdat is allocated, it will be allocated on the other node. This is only to simplify patches a bit. :-P This patches are for 2.6.16-rc3-mm1. Followings are updates. - update for 2.6.16-rc3-mm1. - not only ia64, This is tested on x86_64 with NUMA emulation too. :-) - wait_table_size() allcation is changed. - Take max size as much as possible. - Change using GFP_ATOMIC. It is inside of zone_init_lock. (Warining message of might_sleep() is very well.) - stop_machine_run(build_zonelists) is move to outside of lock. - pgdat_insert() is moved to generic code to be used by x86_64. - add decision of ZONE_DMA32 or ZONE_NORMAL to x86_64's add_memory(). - Make a separated patch to change from __init to __meminit. - Fix some typo Please comment. -- Yasunori Goto - 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/