Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758467Ab0AOWjE (ORCPT ); Fri, 15 Jan 2010 17:39:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758352Ab0AOWjE (ORCPT ); Fri, 15 Jan 2010 17:39:04 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:40607 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758298Ab0AOWjD (ORCPT ); Fri, 15 Jan 2010 17:39:03 -0500 Date: Fri, 15 Jan 2010 14:38:12 -0800 From: Andrew Morton To: "Zheng, Shaohui" Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "ak@linux.intel.com" , "y-goto@jp.fujitsu.com" , Dave Hansen , "Wu, Fengguang" , "x86@kernel.org" Subject: Re: [PATCH-RESEND v4] memory-hotplug: create /sys/firmware/memmap entry for new memory Message-Id: <20100115143812.b70161d2.akpm@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Jan 2010 10:00:11 +0800 "Zheng, Shaohui" wrote: > memory-hotplug: create /sys/firmware/memmap entry for hot-added memory > > Interface firmware_map_add was not called in explict, Remove it and add function > firmware_map_add_hotplug as hotplug interface of memmap. > > When we hot-add new memory, sysfs does not export memmap entry for it. we add > a call in function add_memory to function firmware_map_add_hotplug. > > Add a new function add_sysfs_fw_map_entry to create memmap entry, it can avoid > duplicated codes. The patch causes an early exception in kmem_cache_alloc_notrace() - probably due to a null cache pointer. config: http://master.kernel.org/~akpm/config-akpm2.txt -- 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/