Revision 618e07865b7453d02410c1f3407c2d78a670eabb authored by Barry Song on 17 June 2020, 21:58:28 UTC, committed by Will Deacon on 18 June 2020, 09:39:15 UTC
hugetlb_cma_reserve() is called at the wrong place. numa_init has not been
done yet. so all reserved memory will be located at node0.

Fixes: cf11e85fc08c ("mm: hugetlb: optionally allocate gigantic hugepages using cma")
Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Roman Gushchin <guro@fb.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200617215828.25296-1-song.bao.hua@hisilicon.com
Signed-off-by: Will Deacon <will@kernel.org>
1 parent b9249cb
History
File Mode Size
bpftool
runqslower
.gitignore -rw-r--r-- 111 bytes
Makefile -rw-r--r-- 3.3 KB
Makefile.helpers -rw-r--r-- 1.5 KB
bpf_asm.c -rw-r--r-- 1.2 KB
bpf_dbg.c -rw-r--r-- 28.2 KB
bpf_exp.l -rw-r--r-- 4.0 KB
bpf_exp.y -rw-r--r-- 15.7 KB
bpf_jit_disasm.c -rw-r--r-- 6.4 KB

back to top