Thread (5 messages) 5 messages, 5 authors, 2021-11-30

Re: [BUG] hugetlbfs: Fix issue of preallocation of gigantic pages can't work

From: Muchun Song <hidden>
Date: 2021-11-30 02:34:15
Also in: lkml

On Mon, Nov 29, 2021 at 11:27 PM Zhenguo Yao [off-list ref] 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 <redacted>
Reviewed-by: Muchun Song <redacted>

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help