Re: [PATCH v3] mm/page_alloc: fix counting of free pages after take off from buddy

From: Oscar Salvador
Date: Wed May 26 2021 - 06:43:21 EST


On Wed, May 26, 2021 at 09:58:15AM +0200, David Hildenbrand wrote:
> I guess if we'd actually be removing a page from the buddy while it's
> currently isolated by someone else (i.e., alloc_contig_range()), we might be
> in bigger trouble.
>
> I think we should actually skip isolated pages completely.
> take_page_off_buddy() should not touch them.

That might be a problem indeed.
I will have a look at it.

Thanks

--
Oscar Salvador
SUSE L3