Re: [PATCH] mm: page_alloc: Skip regions with hugetlbfs pages when allocating 1G pages

From: Andrew Morton
Date: Fri Apr 14 2023 - 15:46:25 EST


On Fri, 14 Apr 2023 15:14:29 +0100 Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> wrote:

> A bug was reported by Yuanxi Liu where allocating 1G pages at runtime is
> taking an excessive amount of time for large amounts of memory.
>
> ...
>
> 6.3.0-rc6 6.3.0-rc6 6.3.0-rc6
> vanilla revert-v1 hugeallocfix-v2
> Duration User 0.28 0.27 0.30
> Duration System 808.66 17.77 35.99
> Duration Elapsed 830.87 18.08 36.33
>

I'll put a cc:stable on this.