Re: [RFC v9 PATCH 00/21] memory-hotplug: hot-remove physical memory

2012-09-27 Thread Vasilis Liaskovitis
On Thu, Sep 27, 2012 at 06:06:30PM +0800, Wen Congyang wrote: > Please try the following patch: > From a38ec678e0a9b48b252f457d7910b7527049dc43 Mon Sep 17 00:00:00 2001 > From: Wen Congyang > Date: Thu, 27 Sep 2012 17:27:57 +0800 > Subject: [PATCH] clear the memory to store page information this

Re: [RFC v9 PATCH 00/21] memory-hotplug: hot-remove physical memory

2012-09-26 Thread Vasilis Liaskovitis
Testing 3.6.0-rc7 with this v9 patchset plus more recent fixes [1],[2],[3] Running in a guest (qemu+seabios from [4]). CONFIG_SLAB=y CONFIG_DEBUG_SLAB=y - succesfull hot-add and online - succesfull hot-remove with SCI (qemu) eject - attempt to hot-readd same memory When the pages are re-onlined

Re: [RFC v9 PATCH 00/21] memory-hotplug: hot-remove physical memory

2012-09-26 Thread Vasilis Liaskovitis
Hi, I am testing 3.6.0-rc7 with this v9 patchset plus more recent fixes [1],[2],[3] Running in a guest (qemu+seabios from [4]). CONFIG_SLAB=y CONFIG_DEBUG_SLAB=y After succesfull hot-add and online, I am doing a hot-remove with "echo 1 > /sys/bus/acpi/devices/PNP/eject" When I do the OSPM-eject

Re: [RFC v8 PATCH 00/20] memory-hotplug: hot-remove physical memory

2012-09-19 Thread Vasilis Liaskovitis
Hi, On Tue, Sep 18, 2012 at 05:39:37PM +0800, Wen Congyang wrote: > At 09/13/2012 01:18 AM, Vasilis Liaskovitis Wrote: > > Hi, > > > > On Wed, Sep 12, 2012 at 01:20:28PM +0800, Wen Congyang wrote: > >> Hmm, seabios doesn't support ACPI table SLIT. We can specify

Re: [RFC v8 PATCH 00/20] memory-hotplug: hot-remove physical memory

2012-09-12 Thread Vasilis Liaskovitis
Hi, On Wed, Sep 12, 2012 at 01:20:28PM +0800, Wen Congyang wrote: > > > > On Mon, Sep 10, 2012 at 10:01:44AM +0800, Wen Congyang wrote: > >> At 09/10/2012 09:46 AM, Yasuaki Ishimatsu Wrote: > >>> How do you test the patch? As Andrew says, for hot-removing memory, > >>> we need a particular hardwa

Re: [RFC v8 PATCH 00/20] memory-hotplug: hot-remove physical memory

2012-09-10 Thread Vasilis Liaskovitis
Hi, On Mon, Sep 10, 2012 at 10:01:44AM +0800, Wen Congyang wrote: > At 09/10/2012 09:46 AM, Yasuaki Ishimatsu Wrote: > > Hi Wen, > > > > 2012/09/01 5:49, Andrew Morton wrote: > >> On Tue, 28 Aug 2012 18:00:07 +0800 > >> we...@cn.fujitsu.com wrote: > >> > >>> This patch series aims to support phys

Re: [RFC PATCH V6 04/19] memory-hotplug: offline and remove memory when removing the memory device

2012-08-09 Thread Vasilis Liaskovitis
Hi, > We should offline and remove memory when removing the memory device. > 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 > [snip] > + > +static int acpi_memory_disable_device(struct acpi_memory_device *mem_device)