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 DISCONTIGMEM_MANUAL if ARCH_DISCONTIGMEM_DEFAULT
13 default SPARSEMEM_MANUAL if ARCH_SPARSEMEM_DEFAULT
14 default FLATMEM_MANUAL
23 depends on !(ARCH_DISCONTIGMEM_ENABLE || ARCH_SPARSEMEM_ENABLE) || ARCH_FLATMEM_ENABLE
25 This option is best suited for non-NUMA systems with
38 depends on ARCH_DISCONTIGMEM_ENABLE
53 depends on ARCH_SPARSEMEM_ENABLE
56 memory hot-plug systems. This is normal.
60 hot-plug and hot-remove.
68 depends on (!SELECT_MEMORY_MODEL && ARCH_DISCONTIGMEM_ENABLE) || DISCONTIGMEM_MANUAL
72 depends on (!SELECT_MEMORY_MODEL && ARCH_SPARSEMEM_ENABLE) || SPARSEMEM_MANUAL
76 depends on (!DISCONTIGMEM && !SPARSEMEM) || FLATMEM_MANUAL
80 depends on !SPARSEMEM
89 depends on DISCONTIGMEM || NUMA
92 # SPARSEMEM_EXTREME (which is the default) does some bootmem
94 # be done on your architecture, select this option. However,
111 depends on SPARSEMEM && !SPARSEMEM_STATIC
118 depends on SPARSEMEM && SPARSEMEM_VMEMMAP_ENABLE
119 default y
129 depends on MMU
138 # Keep arch NUMA mapping infrastructure post-init.
146 # Only be set on architectures that have completely implemented memory hotplug
154 bool "Allow for memory hot-add"
156 depends on SPARSEMEM || X86_64_ACPI_NUMA
157 depends on ARCH_ENABLE_MEMORY_HOTPLUG
158 depends on 64BIT || BROKEN
163 depends on SPARSEMEM && MEMORY_HOTPLUG
166 bool "Online the newly added memory blocks by default"
167 depends on MEMORY_HOTPLUG
169 This option sets the default policy setting for memory hotplug
173 See Documentation/admin-guide/mm/memory-hotplug.rst for more information.
175 Say Y here if you want all hot-plugged memory blocks to appear in
176 'online' state by default.
177 Say N here if you want the default policy to keep all hot-plugged
183 depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE
184 depends on MIGRATION
186 # Heavily threaded applications may benefit from splitting the mm-wide
187 # page_table_lock, so that faults on different parts of the user address
189 # Default to 4 for wider testing, though 8 might be more appropriate.
190 # ARM's adjust_pte (unused if VIPT) depends on mm-wide page_table_lock.
191 # PA-RISC 7xxx's spinlock_t would enlarge struct page from 32 to 44 bytes.
193 # a per-page lock leads to problems when multiple tables need to be locked
199 default "999999" if !MMU
200 default "999999" if ARM && !CPU_CACHE_VIPT
201 default "999999" if PARISC && !PA20
202 default "999999" if SPARC32
203 default "4"
218 depends on COMPACTION && MEMORY_BALLOON
234 depends on MMU
238 reliably. The page allocator relies on compaction heavily and
243 linux-mm@kvack.org.
262 depends on (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE || COMPACTION || CMA) && MMU
266 two situations. The first is on NUMA systems to put pages nearer
285 default y
286 depends on BLOCK && MMU && (ZONE_DMA || HIGHMEM)
290 by default when ZONE_DMA or HIGHMEM is selected, but you
308 depends on MMU
323 depends on MMU
324 default 4096
332 On arm and other archs it should not be higher than 32768.
344 depends on MMU
345 depends on ARCH_SUPPORTS_MEMORY_FAILURE
350 Enables code to recover from some memory failures on systems
357 depends on MEMORY_FAILURE && DEBUG_KERNEL && PROC_FS
361 int "Turn on mmap() excess space trimming before booting"
362 depends on !MMU
363 default 1
366 of memory on which to store mappings, but it can only ask the system
367 allocator for chunks in 2^N*PAGE_SIZE amounts - which is frequently
376 long-term mappings means that the space is wasted.
383 This option specifies the initial value of this option. The default
386 See Documentation/admin-guide/mm/nommu-mmap.rst for more information.
390 depends on HAVE_ARCH_TRANSPARENT_HUGEPAGE
401 If memory constrained on embedded, you may want to say N.
405 depends on TRANSPARENT_HUGEPAGE
406 default TRANSPARENT_HUGEPAGE_ALWAYS
432 depends on TRANSPARENT_HUGEPAGE && ARCH_WANTS_THP_SWAP && SWAP
444 depends on !SMP
446 default y
451 Cleancache can be thought of as a page-granularity victim cache
458 time-varying size. And when a cleancache-enabled
459 filesystem wishes to access a page in a file on disk, it first
465 are reduced to a single pointer-compare-against-NULL resulting
472 depends on SWAP
478 time-varying size. When space in transcendent memory is available,
480 available, all frontswap calls are reduced to a single pointer-
481 compare-against-NULL resulting in a negligible performance hit
482 and swap data is stored as normal on the matching swap device.
488 depends on MMU
493 subsystems to allocate big physically-contiguous blocks of memory.
503 depends on DEBUG_KERNEL && CMA
505 Turns on debug messages in CMA. This produces KERN_DEBUG
512 depends on CMA && DEBUG_FS
514 Turns on the DebugFS interface for CMA.
518 depends on CMA
519 default 19 if NUMA
520 default 7
526 If unsure, leave the default value "7" in UMA and "19" in NUMA.
530 depends on CHECKPOINT_RESTORE && HAVE_ARCH_SOFT_DIRTY && PROC_FS
534 soft-dirty bit on pte-s. This bit it set when someone writes
538 See Documentation/admin-guide/mm/soft-dirty.rst for more details.
542 depends on FRONTSWAP && CRYPTO=y
547 compress them into a dynamically allocated RAM-based memory pool.
548 This can result in a significant I/O reduction on swap device and,
554 interactions don't cause any known issues on simple memory setups,
555 they have not be fully explored on the large set of potential
559 prompt "Compressed cache for swap pages default compressor"
560 depends on ZSWAP
561 default ZSWAP_COMPRESSOR_DEFAULT_LZO
563 Selects the default compression algorithm for the compressed cache
580 Use the Deflate algorithm as the default compression algorithm.
586 Use the LZO algorithm as the default compression algorithm.
592 Use the 842 algorithm as the default compression algorithm.
598 Use the LZ4 algorithm as the default compression algorithm.
604 Use the LZ4HC algorithm as the default compression algorithm.
610 Use the zstd algorithm as the default compression algorithm.
615 depends on ZSWAP
616 default "deflate" if ZSWAP_COMPRESSOR_DEFAULT_DEFLATE
617 default "lzo" if ZSWAP_COMPRESSOR_DEFAULT_LZO
618 default "842" if ZSWAP_COMPRESSOR_DEFAULT_842
619 default "lz4" if ZSWAP_COMPRESSOR_DEFAULT_LZ4
620 default "lz4hc" if ZSWAP_COMPRESSOR_DEFAULT_LZ4HC
621 default "zstd" if ZSWAP_COMPRESSOR_DEFAULT_ZSTD
622 default ""
625 prompt "Compressed cache for swap pages default allocator"
626 depends on ZSWAP
627 default ZSWAP_ZPOOL_DEFAULT_ZBUD
629 Selects the default allocator for the compressed cache for
631 The default is 'zbud' for compatibility, however please do
642 Use the zbud allocator as the default allocator.
648 Use the z3fold allocator as the default allocator.
654 Use the zsmalloc allocator as the default allocator.
659 depends on ZSWAP
660 default "zbud" if ZSWAP_ZPOOL_DEFAULT_ZBUD
661 default "z3fold" if ZSWAP_ZPOOL_DEFAULT_Z3FOLD
662 default "zsmalloc" if ZSWAP_ZPOOL_DEFAULT_ZSMALLOC
663 default ""
666 bool "Enable the compressed cache for swap pages by default"
667 depends on ZSWAP
692 depends on ZPOOL
701 depends on MMU
703 zsmalloc is a slab-based memory allocator designed to store
706 non-standard allocator interface where a handle, not a pointer, is
712 depends on ZSMALLOC
724 int "Maximum user stack size for 32-bit processes (MB)"
725 default 80
727 depends on STACK_GROWSUP && (!64BIT || COMPAT)
729 This is the maximum stack size in Megabytes in the VM layout of 32-bit
730 user processes when the stack grows upwards (currently only on parisc
739 depends on SPARSEMEM
740 depends on !NEED_PER_CPU_KM
741 depends on 64BIT
745 single thread. On very large machines this can take a considerable
748 This has a potential performance impact on tasks running early in the
754 depends on SYSFS && MMU
762 See Documentation/admin-guide/mm/idle_page_tracking.rst for
770 depends on MEMORY_HOTPLUG
771 depends on MEMORY_HOTREMOVE
772 depends on SPARSEMEM_VMEMMAP
773 depends on ARCH_HAS_PTE_DEVMAP
780 "device-physical" addresses which is needed for using a DAX
794 depends on MMU
798 depends on ZONE_DEVICE
836 bool "Read-only THP for filesystems (EXPERIMENTAL)"
837 depends on TRANSPARENT_HUGEPAGE && SHMEM
840 Allow khugepaged to put read-only file-backed pages in THP.
853 # introduced it on powerpc. This allows for a more flexible hugepage