Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756096Ab2K3Gir (ORCPT ); Fri, 30 Nov 2012 01:38:47 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:45300 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750709Ab2K3Gip (ORCPT ); Fri, 30 Nov 2012 01:38:45 -0500 X-IronPort-AV: E=Sophos;i="4.83,346,1352044800"; d="scan'208";a="6306089" Message-ID: <50B85435.8020907@cn.fujitsu.com> Date: Fri, 30 Nov 2012 14:37:41 +0800 From: Tang Chen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Andrew Morton CC: Wen Congyang , x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-acpi@vger.kernel.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-ia64@vger.kernel.org, cmetcalf@tilera.com, sparclinux@vger.kernel.org, David Rientjes , Jiang Liu , Len Brown , benh@kernel.crashing.org, paulus@samba.org, Christoph Lameter , Minchan Kim , KOSAKI Motohiro , Yasuaki Ishimatsu , Jianguo Wu Subject: Re: [Patch v4 00/12] memory-hotplug: hot-remove physical memory References: <1354010422-19648-1-git-send-email-wency@cn.fujitsu.com> <20121127112741.b616c2f6.akpm@linux-foundation.org> In-Reply-To: <20121127112741.b616c2f6.akpm@linux-foundation.org> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/11/30 14:38:11, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/11/30 14:38:13, Serialize complete at 2012/11/30 14:38:13 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1775 Lines: 53 Hi Andrew, On 11/28/2012 03:27 AM, Andrew Morton wrote: >> >> - acpi framework >> https://lkml.org/lkml/2012/10/26/175 > > What's happening with the acpi framework? has it received any feedback > from the ACPI developers? About ACPI framework, we are trying to do the following. The memory device can be removed by 2 ways: 1. send eject request by SCI 2. echo 1 >/sys/bus/pci/devices/PNP0C80:XX/eject In the 1st case, acpi_memory_disable_device() will be called. In the 2nd case, acpi_memory_device_remove() will be called. acpi_memory_device_remove() will also be called when we unbind the memory device from the driver acpi_memhotplug or a driver initialization fails. acpi_memory_disable_device() has already implemented a code which offlines memory and releases acpi_memory_info struct . But acpi_memory_device_remove() has not implemented it yet. So the patch prepares the framework for hot removing memory and adds the framework into acpi_memory_device_remove(). All the ACPI related patches have been put into the linux-next branch of the linux-pm.git tree as v3.8 material.Please refer to the following url. https://lkml.org/lkml/2012/11/2/160 So for now, with this patch set, we can do memory hot-remove on x86_64 linux. I do hope you would merge them before 3.8-rc1, so that we can use this functionality in 3.8. As we are still testing all memory hotplug related functionalities, I hope we can do the bug fix during 3.8 rc. Thanks. :) -- 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/