Lines Matching +full:cma +full:- +full:default
1 # SPDX-License-Identifier: GPL-2.0-only
12 default DISCONTIGMEM_MANUAL if ARCH_DISCONTIGMEM_DEFAULT
13 default SPARSEMEM_MANUAL if ARCH_SPARSEMEM_DEFAULT
14 default FLATMEM_MANUAL
25 This option is best suited for non-NUMA systems with
56 memory hot-plug systems. This is normal.
60 hot-plug and hot-remove.
69 default n
78 default n
80 File-LRU is a mechanism that put file page in global lru list,
94 default n
103 default n
109 default n
139 # SPARSEMEM_EXTREME (which is the default) does some bootmem
166 default y
188 # Keep arch NUMA mapping infrastructure post-init.
204 bool "Allow for memory hot-add"
216 bool "Online the newly added memory blocks by default"
219 This option sets the default policy setting for memory hotplug
223 See Documentation/admin-guide/mm/memory-hotplug.rst for more information.
225 Say Y here if you want all hot-plugged memory blocks to appear in
226 'online' state by default.
227 Say N here if you want the default policy to keep all hot-plugged
236 # Heavily threaded applications may benefit from splitting the mm-wide
239 # Default to 4 for wider testing, though 8 might be more appropriate.
240 # ARM's adjust_pte (unused if VIPT) depends on mm-wide page_table_lock.
241 # PA-RISC 7xxx's spinlock_t would enlarge struct page from 32 to 44 bytes.
243 # a per-page lock leads to problems when multiple tables need to be locked
249 default "999999" if !MMU
250 default "999999" if ARM && !CPU_CACHE_VIPT
251 default "999999" if PARISC && !PA20
252 default "999999" if SPARC32
253 default "4"
293 linux-mm@kvack.org.
312 depends on (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE || COMPACTION || CMA) && MMU
328 def_bool (MEMORY_ISOLATION && COMPACTION) || CMA
335 default y
340 by default when ZONE_DMA or HIGHMEM is selected, but you
374 default 4096
413 default 1
417 allocator for chunks in 2^N*PAGE_SIZE amounts - which is frequently
426 long-term mappings means that the space is wasted.
433 This option specifies the initial value of this option. The default
436 See Documentation/admin-guide/mm/nommu-mmap.rst for more information.
456 default TRANSPARENT_HUGEPAGE_ALWAYS
496 default y
501 Cleancache can be thought of as a page-granularity victim cache
508 time-varying size. And when a cleancache-enabled
515 are reduced to a single pointer-compare-against-NULL resulting
528 time-varying size. When space in transcendent memory is available,
530 available, all frontswap calls are reduced to a single pointer-
531 compare-against-NULL resulting in a negligible performance hit
536 config CMA config
543 subsystems to allocate big physically-contiguous blocks of memory.
544 CMA reserves a region of memory and allows only movable pages to
552 bool "CMA debug messages (DEVELOPMENT)"
553 depends on DEBUG_KERNEL && CMA
555 Turns on debug messages in CMA. This produces KERN_DEBUG
556 messages for every CMA call as well as various messages while
561 bool "CMA debugfs interface"
562 depends on CMA && DEBUG_FS
564 Turns on the DebugFS interface for CMA.
567 int "Maximum count of the CMA areas"
568 depends on CMA
569 default 19 if NUMA
570 default 7
572 CMA allows to create CMA areas for particular purpose, mainly,
574 number of CMA area in the system.
576 If unsure, leave the default value "7" in UMA and "19" in NUMA.
579 bool "CMA reuse feature"
580 depends on CMA
583 allocations with __GFP_CMA flag will use cma areas prior to
586 It improves the utilization ratio of cma areas.
594 soft-dirty bit on pte-s. This bit it set when someone writes
598 See Documentation/admin-guide/mm/soft-dirty.rst for more details.
607 compress them into a dynamically allocated RAM-based memory pool.
619 prompt "Compressed cache for swap pages default compressor"
621 default ZSWAP_COMPRESSOR_DEFAULT_LZO
623 Selects the default compression algorithm for the compressed cache
640 Use the Deflate algorithm as the default compression algorithm.
646 Use the LZO algorithm as the default compression algorithm.
652 Use the 842 algorithm as the default compression algorithm.
658 Use the LZ4 algorithm as the default compression algorithm.
664 Use the LZ4HC algorithm as the default compression algorithm.
670 Use the zstd algorithm as the default compression algorithm.
676 default "deflate" if ZSWAP_COMPRESSOR_DEFAULT_DEFLATE
677 default "lzo" if ZSWAP_COMPRESSOR_DEFAULT_LZO
678 default "842" if ZSWAP_COMPRESSOR_DEFAULT_842
679 default "lz4" if ZSWAP_COMPRESSOR_DEFAULT_LZ4
680 default "lz4hc" if ZSWAP_COMPRESSOR_DEFAULT_LZ4HC
681 default "zstd" if ZSWAP_COMPRESSOR_DEFAULT_ZSTD
682 default ""
685 prompt "Compressed cache for swap pages default allocator"
687 default ZSWAP_ZPOOL_DEFAULT_ZBUD
689 Selects the default allocator for the compressed cache for
691 The default is 'zbud' for compatibility, however please do
702 Use the zbud allocator as the default allocator.
708 Use the z3fold allocator as the default allocator.
714 Use the zsmalloc allocator as the default allocator.
720 default "zbud" if ZSWAP_ZPOOL_DEFAULT_ZBUD
721 default "z3fold" if ZSWAP_ZPOOL_DEFAULT_Z3FOLD
722 default "zsmalloc" if ZSWAP_ZPOOL_DEFAULT_ZSMALLOC
723 default ""
726 bool "Enable the compressed cache for swap pages by default"
763 zsmalloc is a slab-based memory allocator designed to store
766 non-standard allocator interface where a handle, not a pointer, is
784 int "Maximum user stack size for 32-bit processes (MB)"
785 default 80
789 This is the maximum stack size in Megabytes in the VM layout of 32-bit
822 See Documentation/admin-guide/mm/idle_page_tracking.rst for
840 "device-physical" addresses which is needed for using a DAX
896 bool "Read-only THP for filesystems (EXPERIMENTAL)"
900 Allow khugepaged to put read-only file-backed pages in THP.
936 # For lmkd to trigger in-kernel lowmem info
940 default n
946 default n
955 default n
964 default n
971 default n
979 default n
986 default n