Skip to content

Commit a269cca

Browse files
author
H. Peter Anvin
committed
mm: remove !NUMA condition from PAGEFLAGS_EXTENDED condition set
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: H. 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>
1 parent 47d2500 commit a269cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ config MEMORY_HOTREMOVE
153153
#
154154
config PAGEFLAGS_EXTENDED
155155
def_bool y
156-
depends on 64BIT || SPARSEMEM_VMEMMAP || !NUMA || !SPARSEMEM
156+
depends on 64BIT || SPARSEMEM_VMEMMAP || !SPARSEMEM
157157

158158
# Heavily threaded applications may benefit from splitting the mm-wide
159159
# page_table_lock, so that faults on different parts of the user address

0 commit comments

Comments
 (0)