Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753900Ab2KDQdT (ORCPT ); Sun, 4 Nov 2012 11:33:19 -0500 Received: from mail-pb0-f46.google.com ([209.85.160.46]:49928 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751711Ab2KDQdQ (ORCPT ); Sun, 4 Nov 2012 11:33:16 -0500 Message-ID: <509698C3.5070700@gmail.com> Date: Mon, 05 Nov 2012 00:33:07 +0800 From: Jiang Liu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: Yinghai Lu CC: Yasuaki Ishimatsu , Tang Chen , bhelgaas@google.com, lenb@kernel.org, jiang.liu@huawei.com, izumi.taku@jp.fujitsu.com, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/3] ACPI: container hot remove support. References: <1351668471-31436-1-git-send-email-tangchen@cn.fujitsu.com> <509106E2.70008@jp.fujitsu.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1762 Lines: 43 On 11/01/2012 12:48 AM, Yinghai Lu wrote: > On Wed, Oct 31, 2012 at 4:09 AM, Yasuaki Ishimatsu > wrote: >>> patch 2. Introduce a new function container_device_remove() to handle >>> ACPI_NOTIFY_EJECT_REQUEST event for container. >> >> If container device contains memory device, the function is >> very danger. As you know, we are developing a memory hotplug. >> If memory has kernel memory, memory hot remove operations fails. >> But container_device_remove() cannot realize it. So even if >> the memory hot remove operation fails, container_device_remove() >> keeps hot remove operation. Finally, the function sends _EJ0 >> to firmware. In this case, if the memory is accessed, kernel >> panic occurs. >> The example is as follows: >> >> https://lkml.org/lkml/2012/9/26/318 > > so what is the overall status memory hot-remove? > how are following memory get processed ? > 1. memory for kernel text, module > 2. page table > 3. vmemmap > 4. memory for kmalloc, for dma Hi Yinghai, I have given a talk about the CPU/memory/PCI host bridge hotplug current status and next step plan on China Linux Kernel Developer Conference, please refer to https://github.com/downloads/jiangliu/linux/ACPI%20Based%20System%20Device%20Dynamic%20Reconfiguration.pdf Thanks! Gerry > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- 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/