[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210526104315.GD1656@linux>
Date: Wed, 26 May 2021 12:43:15 +0200
From: Oscar Salvador <osalvador@...e.de>
To: David Hildenbrand <david@...hat.com>
Cc: Ding Hui <dinghui@...gfor.com.cn>, akpm@...ux-foundation.org,
naoya.horiguchi@....com, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
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
Powered by blists - more mailing lists