diff options
author | Barry Song <song.bao.hua@hisilicon.com> | 2020-06-18 09:58:28 +1200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-06-18 10:39:15 +0100 |
commit | 618e07865b7453d02410c1f3407c2d78a670eabb (patch) | |
tree | 1a1d3df14ba429c319421fa4da4b613f1e086f88 /drivers/pinctrl | |
parent | b9249cba25a5dce5de87e5404503a5e11832c2dd (diff) | |
download | linux-618e07865b7453d02410c1f3407c2d78a670eabb.tar.bz2 |
arm64: mm: reserve hugetlb CMA after numa_init
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>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions