[PATCH v5 05/14] memory-hotplug: introduce new function arch_remove_memory() for removing page table depends on architecture

Kamezawa Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Wed Dec 26 14:37:04 EST 2012

(2012/12/24 21:09), Tang Chen wrote:
> From: Wen Congyang <wency at cn.fujitsu.com>
> For removing memory, we need to remove page table. But it depends
> on architecture. So the patch introduce arch_remove_memory() for
> removing page table. Now it only calls __remove_pages().
> Note: __remove_pages() for some archtecuture is not implemented
>        (I don't know how to implement it for s390).
> Signed-off-by: Wen Congyang <wency at cn.fujitsu.com>

Then, remove code will be symetric to add codes.

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>

More information about the Linuxppc-dev mailing list