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

Tang Chen tangchen at cn.fujitsu.com
Thu Jan 10 13:25:56 EST 2013

Hi Andrew,

On 01/10/2013 06:50 AM, Andrew Morton wrote:
> On Wed, 9 Jan 2013 17:32:29 +0800
> Tang Chen<tangchen at cn.fujitsu.com>  wrote:
>> 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).
> Can this break the build for s390?

No, I don't think so. The arch_remove_memory() in s390 will only
return -EBUSY.

Thanks. :)


More information about the Linuxppc-dev mailing list