Re: [RFC PATCH v3 2/3] acpi_memhotplug: Add prepare_remove operation

2012-11-24 Thread Wen Congyang
At 2012/11/24 1:50, Vasilis Liaskovitis Wrote: > Offlining and removal of memory is now done in the prepare_remove callback, > not in the remove callback. > > The prepare_remove callback will be called when trying to remove a memory > device > with the following ways: > > 1. send eject request b

[RFC PATCH v3 2/3] acpi_memhotplug: Add prepare_remove operation

2012-11-23 Thread Vasilis Liaskovitis
Offlining and removal of memory is now done in the prepare_remove callback, not in the remove callback. The prepare_remove callback will be called when trying to remove a memory device with the following ways: 1. send eject request by SCI 2. echo 1 >/sys/bus/pci/devices/PNP0C80:XX/eject Note tha