Thread (36 messages) 36 messages, 6 authors, 2012-08-01

Re: [RFC PATCH v5 12/19] memory-hotplug: introduce new function arch_remove_memory()

From: Wen Congyang <hidden>
Date: 2012-07-30 10:30:42
Also in: linux-acpi, linux-s390, linux-sh, linuxppc-dev, lkml

At 07/30/2012 06:23 PM, Heiko Carstens Wrote:
On Fri, Jul 27, 2012 at 06:32:15PM +0800, Wen Congyang wrote:
quoted
We don't call __add_pages() directly in the function add_memory()
because some other architecture related things need to be done
before or after calling __add_pages(). So we should introduce
a new function arch_remove_memory() to revert the things
done in arch_add_memory().

Note: the function for s390 is not implemented(I don't know how to
implement it for s390).
There is no hardware or firmware interface which could trigger a
hot memory remove on s390. So there is nothing that needs to be
implemented.
Thanks for providing this information.

According to this, arch_remove_memory() for s390 can just return -EBUSY.

Thanks
Wen Congyang
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help