lkml.org 
[lkml]   [2021]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC V2] mm: Enable generic pfn_valid() to handle early sections with memmap holes
    From
    Date


    On 4/22/21 3:12 PM, Mike Rapoport wrote:
    > The "generic" pfn_valid() is only available with CONFIG_SPARSEMEM.
    > With FLATMEM it's wild west:
    >
    > $ git grep -w "define pfn_valid" arch/*/include/asm/ | wc -l
    > 22
    >
    > This would actually mean that we still need arm64::pfn_valid() for the
    > FLATMEM case.

    SPARSEMEM would be the only memory model going forward.

    https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210420093559.23168-1-catalin.marinas@arm.com/

    \
     
     \ /
      Last update: 2021-04-22 11:59    [W:3.172 / U:1.528 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site