[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMZfGtUxihm0_G6P2L=Vcf97p3kHj=X+MCRUOBb_M4-H7LHdQQ@mail.gmail.com>
Date: Tue, 30 Nov 2021 10:33:35 +0800
From: Muchun Song <songmuchun@...edance.com>
To: Zhenguo Yao <yaozhenguo1@...il.com>
Cc: Mike Kravetz <mike.kravetz@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>, mlevitsk@...hat.com,
LKML <linux-kernel@...r.kernel.org>,
Linux Memory Management List <linux-mm@...ck.org>
Subject: Re: [BUG] hugetlbfs: Fix issue of preallocation of gigantic pages
can't work
On Mon, Nov 29, 2021 at 11:27 PM Zhenguo Yao <yaozhenguo1@...il.com> wrote:
>
> Preallocation of gigantic pages can't work bacause of commit:b5389086ad7b
> (hugetlbfs: extend the definition of hugepages parameter to support node
> allocation). When nid is NUMA_NO_NODE(-1), alloc_bootmem_huge_page will
> always return without doing allocation. Fix this by adding more check.
>
> Signed-off-by: Zhenguo Yao <yaozhenguo1@...il.com>
Reviewed-by: Muchun Song <songmuchun@...edance.com>
Thanks.
Powered by blists - more mailing lists