2021-05-26 10:44:47

by Oscar Salvador

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

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