• H. Peter Anvin's avatar
    mm: remove !NUMA condition from PAGEFLAGS_EXTENDED condition set · a269cca9
    H. Peter Anvin authored
    CONFIG_PAGEFLAGS_EXTENDED disables a trick to conserve pageflags.
    This trick is indended to be enabled when the pressure on page flags
    is very high.
    
    The previous condition was:
    
    -       depends on 64BIT || SPARSEMEM_VMEMMAP || !NUMA || !SPARSEMEM
    
    ... however, the sparsemem code already has a way to crowd out the
    node number from the pageflags, which means that !NUMA actually
    doesn't contribute to hard pageflags exhaustion.
    
    This is required for the new PG_uncached flag to not cause pageflags
    exhaustion on x86_32 + PAE + SPARSEMEM + !NUMA.
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    LKML-Reference: <4A9828F4.4040905@zytor.com>
    Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
    Cc: Suresh Siddha <suresh.siddha@intel.com>
    a269cca9
Kconfig 8.16 KB