Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Wei Li
(+ saberlily + jiapeng) On 2020/12/7 18:39, Anshuman Khandual wrote: > > > On 12/7/20 3:34 PM, Mike Rapoport wrote: >> On Mon, Dec 07, 2020 at 10:49:26AM +0100, Ard Biesheuvel wrote: >>> On Mon, 7 Dec 2020 at 10:42, Mike Rapoport wrote: On Mon, Dec 07, 2020 at 09:35:06AM +, Marc Z

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Anshuman Khandual
On 12/7/20 3:34 PM, Mike Rapoport wrote: > On Mon, Dec 07, 2020 at 10:49:26AM +0100, Ard Biesheuvel wrote: >> On Mon, 7 Dec 2020 at 10:42, Mike Rapoport wrote: >>> >>> On Mon, Dec 07, 2020 at 09:35:06AM +, Marc Zyngier wrote: On 2020-12-07 09:09, Ard Biesheuvel wrote: > (+ Marc) >>

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Mike Rapoport
On Mon, Dec 07, 2020 at 10:49:26AM +0100, Ard Biesheuvel wrote: > On Mon, 7 Dec 2020 at 10:42, Mike Rapoport wrote: > > > > On Mon, Dec 07, 2020 at 09:35:06AM +, Marc Zyngier wrote: > > > On 2020-12-07 09:09, Ard Biesheuvel wrote: > > > > (+ Marc) > > > > > > > > On Fri, 4 Dec 2020 at 12:14, W

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Ard Biesheuvel
On Mon, 7 Dec 2020 at 10:42, Mike Rapoport wrote: > > On Mon, Dec 07, 2020 at 09:35:06AM +, Marc Zyngier wrote: > > On 2020-12-07 09:09, Ard Biesheuvel wrote: > > > (+ Marc) > > > > > > On Fri, 4 Dec 2020 at 12:14, Will Deacon wrote: > > > > > > > > On Fri, Dec 04, 2020 at 09:44:43AM +0800, W

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Mike Rapoport
On Mon, Dec 07, 2020 at 09:35:06AM +, Marc Zyngier wrote: > On 2020-12-07 09:09, Ard Biesheuvel wrote: > > (+ Marc) > > > > On Fri, 4 Dec 2020 at 12:14, Will Deacon wrote: > > > > > > On Fri, Dec 04, 2020 at 09:44:43AM +0800, Wei Li wrote: > > > > For the memory hole, sparse memory model tha

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Marc Zyngier
On 2020-12-07 09:09, Ard Biesheuvel wrote: (+ Marc) On Fri, 4 Dec 2020 at 12:14, Will Deacon wrote: On Fri, Dec 04, 2020 at 09:44:43AM +0800, Wei Li wrote: > For the memory hole, sparse memory model that define SPARSEMEM_VMEMMAP > do not free the reserved memory for the page map, decrease the

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Ard Biesheuvel
(+ Marc) On Fri, 4 Dec 2020 at 12:14, Will Deacon wrote: > > On Fri, Dec 04, 2020 at 09:44:43AM +0800, Wei Li wrote: > > For the memory hole, sparse memory model that define SPARSEMEM_VMEMMAP > > do not free the reserved memory for the page map, decrease the section > > size can reduce the waste

RE: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-06 Thread Song Bao Hua (Barry Song)
rnel.org; nsaenzjulie...@suse.de; liwei (CM) > ; butao ; > linux-arm-ker...@lists.infradead.org; fengbaopeng > > Subject: Re: [PATCH] arm64: mm: decrease the section size to reduce the memory > reserved for the page map > > > > On 12/7/20 7:10 AM, Song Bao Hua (Barry

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-06 Thread Anshuman Khandual
gbaopeng >> ; nsaenzjulie...@suse.de; steve.cap...@arm.com; >> Song Bao Hua (Barry Song) ; >> linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; butao >> >> Subject: Re: [PATCH] arm64: mm: decrease the section size to reduce the >> memory >>

RE: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-06 Thread Song Bao Hua (Barry Song)
ng) ; > linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; butao > > Subject: Re: [PATCH] arm64: mm: decrease the section size to reduce the memory > reserved for the page map > > On Fri, Dec 04, 2020 at 11:13:47AM +, Will Deacon wrote: > > On Fri, D

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-04 Thread Mike Rapoport
On Fri, Dec 04, 2020 at 11:13:47AM +, Will Deacon wrote: > On Fri, Dec 04, 2020 at 09:44:43AM +0800, Wei Li wrote: > > For the memory hole, sparse memory model that define SPARSEMEM_VMEMMAP > > do not free the reserved memory for the page map, decrease the section > > size can reduce the waste

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-04 Thread Will Deacon
On Fri, Dec 04, 2020 at 09:44:43AM +0800, Wei Li wrote: > For the memory hole, sparse memory model that define SPARSEMEM_VMEMMAP > do not free the reserved memory for the page map, decrease the section > size can reduce the waste of reserved memory. > > Signed-off-by: Wei Li > Signed-off-by: Baop

RE: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-03 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: liwei (CM) > Sent: Friday, December 4, 2020 2:45 PM > To: catalin.mari...@arm.com; r...@linux.ibm.com; w...@kernel.org; liwei (CM) > > Cc: fengbaopeng ; nsaenzjulie...@suse.de; > steve.cap...@arm.com; Song Bao Hua (Barry Song) ; > linux-arm-ker...@lists.infr