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

From: Dave Hansen
Date: Tue Sep 20 2016 - 13:45:29 EST

On 09/20/2016 10:37 AM, Mike Kravetz wrote:
> 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.