Re: [PATCH 2/2] mm: rename memmap_init() and memmap_init_zone()

2020-12-15 Thread Baoquan He
On 12/14/20 at 01:04pm, Mike Rapoport wrote: > On Mon, Dec 14, 2020 at 11:00:07AM +0100, David Hildenbrand wrote: > > On 13.12.20 16:09, Baoquan He wrote: > > > The current memmap_init_zone() only handles memory region inside one zone. > > > Actually memmap_init() does the memmap init of one zone.

Re: [PATCH 2/2] mm: rename memmap_init() and memmap_init_zone()

2020-12-14 Thread Baoquan He
On 12/14/20 at 11:00am, David Hildenbrand wrote: > On 13.12.20 16:09, Baoquan He wrote: > > The current memmap_init_zone() only handles memory region inside one zone. > > Actually memmap_init() does the memmap init of one zone. So rename both of > > them accordingly. > > > > And also rename the fu

Re: [PATCH 2/2] mm: rename memmap_init() and memmap_init_zone()

2020-12-14 Thread Mike Rapoport
On Mon, Dec 14, 2020 at 11:00:07AM +0100, David Hildenbrand wrote: > On 13.12.20 16:09, Baoquan He wrote: > > The current memmap_init_zone() only handles memory region inside one zone. > > Actually memmap_init() does the memmap init of one zone. So rename both of > > them accordingly. > > > > And

Re: [PATCH 2/2] mm: rename memmap_init() and memmap_init_zone()

2020-12-14 Thread David Hildenbrand
On 13.12.20 16:09, Baoquan He wrote: > The current memmap_init_zone() only handles memory region inside one zone. > Actually memmap_init() does the memmap init of one zone. So rename both of > them accordingly. > > And also rename the function parameter 'range_start_pfn' and local variable > 'rang

[PATCH 2/2] mm: rename memmap_init() and memmap_init_zone()

2020-12-13 Thread Baoquan He
The current memmap_init_zone() only handles memory region inside one zone. Actually memmap_init() does the memmap init of one zone. So rename both of them accordingly. And also rename the function parameter 'range_start_pfn' and local variable 'range_end_pfn' to zone_start_pfn/zone_end_pfn. Signe