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

From
Tang Chen <hidden>
Date
2013-01-10 02:26:47
Also in
linux-acpi, linux-mm, linux-s390, linux-sh, lkml, sparclinux
Reply to
Andrew Morton, 2013-01-09
Hi Andrew,

On 01/10/2013 06:50 AM, Andrew Morton wrote:
On Wed, 9 Jan 2013 17:32:29 +0800
Tang Chen[off-list ref]  wrote:
quoted
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. :)
Thread (67 messages) 67 messages, 6 authors, last reply 2013-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help