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

From: Kamezawa Hiroyuki
Date: Tue Dec 25 2012 - 22:38:06 EST


(2012/12/24 21:09), Tang Chen wrote:
> From: Wen Congyang <wency@xxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxx>

Then, remove code will be symetric to add codes.

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/