Re: [RFC] mm: Enable generic pfn_valid() to handle early sections with memmap holes

2021-03-17 Thread David Hildenbrand
On 11.03.21 05:29, Anshuman Khandual wrote: On 3/8/21 2:07 PM, David Hildenbrand wrote: On 08.03.21 04:27, Anshuman Khandual wrote: Platforms like arm and arm64 have redefined pfn_valid() because their early memory sections might have contained memmap holes caused by memblock areas tagged wit

Re: [RFC] mm: Enable generic pfn_valid() to handle early sections with memmap holes

2021-03-11 Thread Mike Rapoport
On Thu, Mar 11, 2021 at 09:33:02AM +, Will Deacon wrote: > On Thu, Mar 11, 2021 at 01:22:53PM +0530, Anshuman Khandual wrote: > > On 3/8/21 2:25 PM, Mike Rapoport wrote: > > > On Mon, Mar 08, 2021 at 08:57:53AM +0530, Anshuman Khandual wrote: > > >> Platforms like arm and arm64 have redefined p

Re: [RFC] mm: Enable generic pfn_valid() to handle early sections with memmap holes

2021-03-11 Thread Will Deacon
On Thu, Mar 11, 2021 at 01:22:53PM +0530, Anshuman Khandual wrote: > On 3/8/21 2:25 PM, Mike Rapoport wrote: > > On Mon, Mar 08, 2021 at 08:57:53AM +0530, Anshuman Khandual wrote: > >> Platforms like arm and arm64 have redefined pfn_valid() because their early > >> memory sections might have contai

Re: [RFC] mm: Enable generic pfn_valid() to handle early sections with memmap holes

2021-03-11 Thread Mike Rapoport
On Thu, Mar 11, 2021 at 01:22:53PM +0530, Anshuman Khandual wrote: > > On 3/8/21 2:25 PM, Mike Rapoport wrote: > > Hi Anshuman, > > > > On Mon, Mar 08, 2021 at 08:57:53AM +0530, Anshuman Khandual wrote: > >> Platforms like arm and arm64 have redefined pfn_valid() because their early > >> memory s

Re: [RFC] mm: Enable generic pfn_valid() to handle early sections with memmap holes

2021-03-10 Thread Anshuman Khandual
On 3/8/21 2:25 PM, Mike Rapoport wrote: > Hi Anshuman, > > On Mon, Mar 08, 2021 at 08:57:53AM +0530, Anshuman Khandual wrote: >> Platforms like arm and arm64 have redefined pfn_valid() because their early >> memory sections might have contained memmap holes caused by memblock areas >> tagged wit

Re: [RFC] mm: Enable generic pfn_valid() to handle early sections with memmap holes

2021-03-10 Thread Anshuman Khandual
On 3/8/21 2:07 PM, David Hildenbrand wrote: > On 08.03.21 04:27, Anshuman Khandual wrote: >> Platforms like arm and arm64 have redefined pfn_valid() because their early >> memory sections might have contained memmap holes caused by memblock areas >> tagged with MEMBLOCK_NOMAP, which should be sk

Re: [RFC] mm: Enable generic pfn_valid() to handle early sections with memmap holes

2021-03-08 Thread Mike Rapoport
Hi Anshuman, On Mon, Mar 08, 2021 at 08:57:53AM +0530, Anshuman Khandual wrote: > Platforms like arm and arm64 have redefined pfn_valid() because their early > memory sections might have contained memmap holes caused by memblock areas > tagged with MEMBLOCK_NOMAP, which should be skipped while val

Re: [RFC] mm: Enable generic pfn_valid() to handle early sections with memmap holes

2021-03-08 Thread David Hildenbrand
On 08.03.21 04:27, Anshuman Khandual wrote: Platforms like arm and arm64 have redefined pfn_valid() because their early memory sections might have contained memmap holes caused by memblock areas tagged with MEMBLOCK_NOMAP, which should be skipped while validating a pfn for struct page backing. Th