Lines Matching +full:default +full:- +full:on
1 # SPDX-License-Identifier: GPL-2.0-only
7 depends on ARCH_SELECT_MEMORY_MODEL
11 depends on SELECT_MEMORY_MODEL
12 default SPARSEMEM_MANUAL if ARCH_SPARSEMEM_DEFAULT
13 default FLATMEM_MANUAL
22 depends on !ARCH_SPARSEMEM_ENABLE || ARCH_FLATMEM_ENABLE
24 This option is best suited for non-NUMA systems with
37 depends on ARCH_SPARSEMEM_ENABLE
40 memory hot-plug systems. This is normal.
44 hot-plug and hot-remove.
52 depends on (!SELECT_MEMORY_MODEL && ARCH_SPARSEMEM_ENABLE) || SPARSEMEM_MANUAL
56 depends on !SPARSEMEM || FLATMEM_MANUAL
59 # SPARSEMEM_EXTREME (which is the default) does some bootmem
61 # be done on your architecture, select this option. However,
78 depends on SPARSEMEM && !SPARSEMEM_STATIC
85 depends on SPARSEMEM && SPARSEMEM_VMEMMAP_ENABLE
86 default y
96 depends on MMU
105 # Keep arch NUMA mapping infrastructure post-init.
113 # Only be set on architectures that have completely implemented memory hotplug
124 bool "Allow for memory hot-add"
126 depends on SPARSEMEM || X86_64_ACPI_NUMA
127 depends on ARCH_ENABLE_MEMORY_HOTPLUG
128 depends on 64BIT || BROKEN
133 depends on SPARSEMEM && MEMORY_HOTPLUG
136 bool "Online the newly added memory blocks by default"
137 depends on MEMORY_HOTPLUG
139 This option sets the default policy setting for memory hotplug
143 See Documentation/admin-guide/mm/memory-hotplug.rst for more information.
145 Say Y here if you want all hot-plugged memory blocks to appear in
146 'online' state by default.
147 Say N here if you want the default policy to keep all hot-plugged
156 depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE
157 depends on MIGRATION
161 depends on MEMORY_HOTPLUG && SPARSEMEM_VMEMMAP
162 depends on ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE
164 # Heavily threaded applications may benefit from splitting the mm-wide
165 # page_table_lock, so that faults on different parts of the user address
167 # Default to 4 for wider testing, though 8 might be more appropriate.
168 # ARM's adjust_pte (unused if VIPT) depends on mm-wide page_table_lock.
169 # PA-RISC 7xxx's spinlock_t would enlarge struct page from 32 to 44 bytes.
171 # a per-page lock leads to problems when multiple tables need to be locked
177 default "999999" if !MMU
178 default "999999" if ARM && !CPU_CACHE_VIPT
179 default "999999" if PARISC && !PA20
180 default "999999" if SPARC32
181 default "4"
196 depends on COMPACTION && MEMORY_BALLOON
212 depends on MMU
216 reliably. The page allocator relies on compaction heavily and
221 linux-mm@kvack.org.
240 depends on (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE || COMPACTION || CMA) && MMU
244 two situations. The first is on NUMA systems to put pages nearer
260 on a platform.
270 default y
271 depends on BLOCK && MMU && HIGHMEM
274 memory available to the CPU. Enabled by default when HIGHMEM is
292 depends on MMU
307 depends on MMU
308 default 4096
316 On arm and other archs it should not be higher than 32768.
328 depends on MMU
329 depends on ARCH_SUPPORTS_MEMORY_FAILURE
334 Enables code to recover from some memory failures on systems
341 depends on MEMORY_FAILURE && DEBUG_KERNEL && PROC_FS
345 int "Turn on mmap() excess space trimming before booting"
346 depends on !MMU
347 default 1
350 of memory on which to store mappings, but it can only ask the system
351 allocator for chunks in 2^N*PAGE_SIZE amounts - which is frequently
360 long-term mappings means that the space is wasted.
367 This option specifies the initial value of this option. The default
370 See Documentation/admin-guide/mm/nommu-mmap.rst for more information.
374 depends on HAVE_ARCH_TRANSPARENT_HUGEPAGE
385 If memory constrained on embedded, you may want to say N.
389 depends on TRANSPARENT_HUGEPAGE
390 default TRANSPARENT_HUGEPAGE_ALWAYS
416 depends on TRANSPARENT_HUGEPAGE && ARCH_WANTS_THP_SWAP && SWAP
428 depends on !SMP
430 default y
435 Cleancache can be thought of as a page-granularity victim cache
442 time-varying size. And when a cleancache-enabled
443 filesystem wishes to access a page in a file on disk, it first
449 are reduced to a single pointer-compare-against-NULL resulting
456 depends on SWAP
462 time-varying size. When space in transcendent memory is available,
464 available, all frontswap calls are reduced to a single pointer-
465 compare-against-NULL resulting in a negligible performance hit
466 and swap data is stored as normal on the matching swap device.
472 depends on MMU
477 subsystems to allocate big physically-contiguous blocks of memory.
487 depends on DEBUG_KERNEL && CMA
489 Turns on debug messages in CMA. This produces KERN_DEBUG
496 depends on CMA && DEBUG_FS
498 Turns on the DebugFS interface for CMA.
502 depends on CMA && SYSFS
509 depends on CMA
510 default 19 if NUMA
511 default 7
517 If unsure, leave the default value "7" in UMA and "19" in NUMA.
521 depends on CHECKPOINT_RESTORE && HAVE_ARCH_SOFT_DIRTY && PROC_FS
525 soft-dirty bit on pte-s. This bit it set when someone writes
529 See Documentation/admin-guide/mm/soft-dirty.rst for more details.
533 depends on FRONTSWAP && CRYPTO=y
538 compress them into a dynamically allocated RAM-based memory pool.
539 This can result in a significant I/O reduction on swap device and,
545 interactions don't cause any known issues on simple memory setups,
546 they have not be fully explored on the large set of potential
550 prompt "Compressed cache for swap pages default compressor"
551 depends on ZSWAP
552 default ZSWAP_COMPRESSOR_DEFAULT_LZO
554 Selects the default compression algorithm for the compressed cache
571 Use the Deflate algorithm as the default compression algorithm.
577 Use the LZO algorithm as the default compression algorithm.
583 Use the 842 algorithm as the default compression algorithm.
589 Use the LZ4 algorithm as the default compression algorithm.
595 Use the LZ4HC algorithm as the default compression algorithm.
601 Use the zstd algorithm as the default compression algorithm.
606 depends on ZSWAP
607 default "deflate" if ZSWAP_COMPRESSOR_DEFAULT_DEFLATE
608 default "lzo" if ZSWAP_COMPRESSOR_DEFAULT_LZO
609 default "842" if ZSWAP_COMPRESSOR_DEFAULT_842
610 default "lz4" if ZSWAP_COMPRESSOR_DEFAULT_LZ4
611 default "lz4hc" if ZSWAP_COMPRESSOR_DEFAULT_LZ4HC
612 default "zstd" if ZSWAP_COMPRESSOR_DEFAULT_ZSTD
613 default ""
616 prompt "Compressed cache for swap pages default allocator"
617 depends on ZSWAP
618 default ZSWAP_ZPOOL_DEFAULT_ZBUD
620 Selects the default allocator for the compressed cache for
622 The default is 'zbud' for compatibility, however please do
633 Use the zbud allocator as the default allocator.
639 Use the z3fold allocator as the default allocator.
645 Use the zsmalloc allocator as the default allocator.
650 depends on ZSWAP
651 default "zbud" if ZSWAP_ZPOOL_DEFAULT_ZBUD
652 default "z3fold" if ZSWAP_ZPOOL_DEFAULT_Z3FOLD
653 default "zsmalloc" if ZSWAP_ZPOOL_DEFAULT_ZSMALLOC
654 default ""
657 bool "Enable the compressed cache for swap pages by default"
658 depends on ZSWAP
674 depends on ZPOOL
684 depends on ZPOOL
693 depends on MMU
695 zsmalloc is a slab-based memory allocator designed to store
698 non-standard allocator interface where a handle, not a pointer, is
704 depends on ZSMALLOC
716 int "Default maximum user stack size for 32-bit processes (MB)"
717 default 100
719 depends on STACK_GROWSUP && (!64BIT || COMPAT)
721 This is the maximum stack size in Megabytes in the VM layout of 32-bit
722 user processes when the stack grows upwards (currently only on parisc
729 depends on SPARSEMEM
730 depends on !NEED_PER_CPU_KM
731 depends on 64BIT
735 single thread. On very large machines this can take a considerable
738 This has a potential performance impact on tasks running early in the
752 depends on SYSFS && MMU
760 See Documentation/admin-guide/mm/idle_page_tracking.rst for
774 default y if ARM64 || X86
778 depends on !X86_32
779 default y if ARM64
783 depends on MEMORY_HOTPLUG
784 depends on MEMORY_HOTREMOVE
785 depends on SPARSEMEM_VMEMMAP
786 depends on ARCH_HAS_PTE_DEVMAP
793 "device-physical" addresses which is needed for using a DAX
807 depends on MMU
811 depends on ZONE_DEVICE
835 bool "Enable infrastructure for get_user_pages()-related unit tests"
836 depends on DEBUG_FS
839 to make ioctl calls that can launch kernel-based unit tests for
844 the non-_fast variants.
846 There is also a sub-test that allows running dump_page() on any
848 range of user-space addresses. These pages are either pinned via
855 depends on !GUP_TEST && !DEBUG_FS
861 bool "Read-only THP for filesystems (EXPERIMENTAL)"
862 depends on TRANSPARENT_HUGEPAGE && SHMEM
865 Allow khugepaged to put read-only file-backed pages in THP.
878 # introduced it on powerpc. This allows for a more flexible hugepage