From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wen Congyang Subject: [PATCH 0/7 v2] some fixes about acpi_memhotplug Date: Wed, 11 Jul 2012 15:45:34 +0800 Message-ID: <4FFD2F1E.10006@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from cn.fujitsu.com ([222.73.24.84]:40568 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754018Ab2GKHlB (ORCPT ); Wed, 11 Jul 2012 03:41:01 -0400 Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: lenb@kernel.org, linux-acpi@vger.kernel.org, "linux-kernel@vger.kernel.org" Cc: Yasuaki ISIMATU , David Rientjes , Andrew Morton , Konrad Rzeszutek Wilk Changes from v1 to v2: 1. address David Rientjes and Konrad Rzeszutek Wilk's comment Note: Patch 2, 3, 7 have been acked by David Rientjes. Wen Congyang (7): fix memory leak when memory device is unbound from the module acpi_memhotplug free memory device if acpi_memory_enable_device() failed remove memory info from list before freeing it don't allow to eject the memory device if it is being used bind the memory device when the driver is being loaded auto bind the memory device which is hotpluged before the driver is loaded release memory resources if hotadd_new_pgdat() failed drivers/acpi/acpi_memhotplug.c | 123 ++++++++++++++++++++++++++++++---------- mm/memory_hotplug.c | 2 +- 2 files changed, 93 insertions(+), 32 deletions(-)