Re: [PATCH] memory-hotplug: Fix bad area access on dissolve_free_huge_pages()

From: Dave Hansen
Date: Wed Sep 14 2016 - 12:37:28 EST


On 09/14/2016 09:33 AM, Rui Teng wrote:
>
> How about return the size of page freed from dissolve_free_huge_page(),
> and jump such step on pfn?

That would be a nice improvement.

But, as far as describing the initial problem, can you explain how the
tail pages still ended up being PageHuge()? Seems like dissolving the
huge page should have cleared that.