Re: [RFC PATCH 6/8] memory-hotplug: introduce new function arch_remove_memory()

2012-07-20 Thread Wen Congyang
At 07/20/2012 04:21 PM, Yasuaki Ishimatsu Wrote: > 2012/07/20 16:12, Wen Congyang wrote: >> We don't call __add_pages() directly in the function add_memory() >> because some other architecture related thins needs to be done >> before or after calling __add_pages(). So we should not call >> __remove

Re: [RFC PATCH 6/8] memory-hotplug: introduce new function arch_remove_memory()

2012-07-20 Thread Yasuaki Ishimatsu
2012/07/20 16:12, Wen Congyang wrote: We don't call __add_pages() directly in the function add_memory() because some other architecture related thins needs to be done before or after calling __add_pages(). So we should not call __remove_pages() directly in the function remove_memory. Introduce ne

[RFC PATCH 6/8] memory-hotplug: introduce new function arch_remove_memory()

2012-07-20 Thread Wen Congyang
We don't call __add_pages() directly in the function add_memory() because some other architecture related thins needs to be done before or after calling __add_pages(). So we should not call __remove_pages() directly in the function remove_memory. Introduce new function arch_remove_memory() to rever