Re: [PATCH 2/3] arm64: mm: reserve hugetlb CMA after numa_init

2020-06-09 Thread Matthias Brugger
lin.mari...@arm.com; John Garry ; >> linux-kernel@vger.kernel.org; Linuxarm ; >> io...@lists.linux-foundation.org; Zengtao (B) ; >> Jonathan Cameron ; >> robin.mur...@arm.com; h...@lst.de; linux-arm-ker...@lists.infradead.org; >> m.szyprow...@samsung.com >> Subject:

RE: [PATCH 2/3] arm64: mm: reserve hugetlb CMA after numa_init

2020-06-07 Thread Song Bao Hua (Barry Song)
sts.linux-foundation.org; Zengtao (B) ; > Jonathan Cameron ; > robin.mur...@arm.com; h...@lst.de; linux-arm-ker...@lists.infradead.org; > m.szyprow...@samsung.com > Subject: Re: [PATCH 2/3] arm64: mm: reserve hugetlb CMA after numa_init > > > > On 03/06/2020 05:22, Roman G

Re: [PATCH 2/3] arm64: mm: reserve hugetlb CMA after numa_init

2020-06-07 Thread Matthias Brugger
On 03/06/2020 05:22, Roman Gushchin wrote: > On Wed, Jun 03, 2020 at 02:42:30PM +1200, Barry Song wrote: >> 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. >> >> Cc: Roman Gushchin >> Signed-off-by: Barry S

Re: [PATCH 2/3] arm64: mm: reserve hugetlb CMA after numa_init

2020-06-02 Thread Roman Gushchin
On Wed, Jun 03, 2020 at 02:42:30PM +1200, Barry Song wrote: > 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. > > Cc: Roman Gushchin > Signed-off-by: Barry Song Acked-by: Roman Gushchin Thanks! > --- > a

[PATCH 2/3] arm64: mm: reserve hugetlb CMA after numa_init

2020-06-02 Thread Barry Song
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. Cc: Roman Gushchin Signed-off-by: Barry Song --- arch/arm64/mm/init.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/m