Re: [External] Re: [PATCH v10 03/11] mm/hugetlb: Free the vmemmap pages associated with each HugeTLB page

From: Oscar Salvador
Date: Mon Dec 21 2020 - 08:48:00 EST


On Mon, Dec 21, 2020 at 07:25:15PM +0800, Muchun Song wrote:

> Should we add a BUG_ON in vmemmap_remap_free() for now?
>
> BUG_ON(reuse != start + PAGE_SIZE);

I do not think we have to, plus we would be BUG_ing for some specific use
case in "generic" function.
Maybe others think different though.

--
Oscar Salvador
SUSE L3