Thread (24 messages) 24 messages, 7 authors, 2016-09-26

Re: [PATCH 0/1] memory offline issues with hugepage size > memory block size

From: Gerald Schaefer <hidden>
Date: 2016-09-21 10:34:58
Also in: lkml

On Tue, 20 Sep 2016 10:45:23 -0700
Dave Hansen [off-list ref] wrote:
On 09/20/2016 10:37 AM, Mike Kravetz wrote:
quoted
Their approach (I believe) would be to fail the offline operation in
this case.  However, I could argue that failing the operation, or
dissolving the unused huge page containing the area to be offlined is
the right thing to do.
I think the right thing to do is dissolve the whole huge page if even a
part of it is offlined.  The only question is what to do with the
gigantic remnants.
Hmm, not sure if I got this right, but I thought that by calling
update_and_free_page() on the head page (even if it is not part of the
memory block to be removed) all parts of the gigantic hugepage should be
properly freed and there should not be any remnants left.

--
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