Lines Matching +full:default +full:- +full:on
1 # SPDX-License-Identifier: GPL-2.0-only
4 depends on !UML
6 default "/lib/modules/$(shell,uname -r)/.config"
7 default "/etc/kernel-config"
8 default "/boot/config-$(shell,uname -r)"
9 default "arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)"
13 default "$(CC_VERSION_TEXT)"
17 - Re-run Kconfig when the compiler is updated
18 The 'default' property references the environment variable,
22 - Ensure full rebuild when the compier is updated
24 fixdep adds include/config/cc/version/text.h into the auto-generated
29 def_bool $(success,echo "$(CC_VERSION_TEXT)" | grep -q gcc)
33 default $(shell,$(srctree)/scripts/gcc-version.sh $(CC)) if CC_IS_GCC
34 default 0
38 default $(shell,$(LD) --version | $(srctree)/scripts/ld-version.sh)
41 def_bool $(success,echo "$(CC_VERSION_TEXT)" | grep -q clang)
44 def_bool $(success,$(LD) -v | head -n 1 | grep -q LLD)
48 default $(shell,$(srctree)/scripts/clang-version.sh $(CC))
52 default $(shell,$(srctree)/scripts/lld-version.sh $(LD))
56 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(m64-flag)) if 64BIT
57 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(m32-flag))
61 …default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(m64-flag) -static) if 6…
62 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(m32-flag) -static)
65 def_bool $(success,$(srctree)/scripts/gcc-goto.sh $(CC))
68 depends on CC_HAS_ASM_GOTO
69 …nt x) { asm goto ("": "=r"(x) ::: bar); return x; bar: return 0; }' | $(CC) -x c - -c -o /dev/null)
72 …env "CC=$(CC)" "LD=$(LD)" "NM=$(NM)" "OBJCOPY=$(OBJCOPY)" $(srctree)/scripts/tools-support-relr.sh)
75 def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null)
79 depends on !UML
104 depends on BROKEN || !SMP
105 default y
109 default 32 if !UML
110 default 128 if UML
117 depends on !UML
118 default n
120 Some drivers can be compiled on a different platform than they are
121 intended to be run on. Despite they cannot be loaded there (or even
124 drivers to compile-test them.
132 depends on HEADERS_INSTALL && CC_CAN_LINK
134 Compile test headers exported to user-space to ensure they are
135 self-contained, i.e. compilable as standalone units.
138 headers are self-contained, say Y here. Otherwise, choose N.
141 string "Local version - append to kernel release"
152 default y
153 depends on !COMPILE_TEST
159 A string of the format -gxxxxxxxx will be added to the localversion
160 if a git-based tree is found. The string generated by this will be
167 $ git rev-parse --verify HEAD
173 default ""
178 build is unique between builds. It's safe to leave the default.
206 default KERNEL_GZIP
207 …depends on HAVE_KERNEL_GZIP || HAVE_KERNEL_BZIP2 || HAVE_KERNEL_LZMA || HAVE_KERNEL_XZ || HAVE_KER…
209 The linux kernel is a kind of self-extracting executable.
221 are low on disk space (embedded systems), but for whom ram
228 depends on HAVE_KERNEL_GZIP
235 depends on HAVE_KERNEL_BZIP2
245 depends on HAVE_KERNEL_LZMA
253 depends on HAVE_KERNEL_XZ
258 comparison to gzip. On architectures for which there is a BCJ
259 filter (i386, x86_64, ARM, IA-64, PowerPC, and SPARC), XZ
268 depends on HAVE_KERNEL_LZO
276 depends on HAVE_KERNEL_LZ4
278 LZ4 is an LZ77-type compressor with a fixed, byte-oriented encoding.
288 depends on HAVE_KERNEL_ZSTD
298 depends on HAVE_KERNEL_UNCOMPRESSED
309 string "Default init path"
310 default ""
312 This option determines the default init for the system if no init=
313 option is passed on the kernel command line. If the requested path is
314 not present, we will still then move on to attempting further
319 string "Default hostname"
320 default "(none)"
322 This option determines the default system hostname before userspace
324 but you may wish to use a different default here to make a minimal
336 depends on MMU && BLOCK && !ARCH_NO_SWAP
337 default y
352 DOSEMU-HOWTO, available from <http://www.tldp.org/docs.html#howto>),
361 depends on SYSVIPC
362 depends on SYSCTL
363 default y
367 depends on NET
377 operations on message queues.
383 depends on POSIX_MQUEUE
384 depends on SYSCTL
385 default y
389 default n
401 depends on MMU
402 default y
415 system call. If you intend to run programs built on libc5 or
421 depends on NET
426 on architectures which support it.
433 depends on AUDIT && HAVE_ARCH_AUDITSYSCALL
447 default TICK_CPU_ACCOUNTING if !PPC64
448 default VIRT_CPU_ACCOUNTING_NATIVE if PPC64
453 depends on !S390 && !NO_HZ_FULL
456 statistics about user, system and idle time spent on per jiffies
463 depends on HAVE_VIRT_CPU_ACCOUNTING && !NO_HZ_FULL
467 accounting. This is done by reading a CPU counter on each
468 kernel entry and exit and on transitions within the kernel
471 this also enables accounting of stolen time on logically-partitioned
476 depends on HAVE_CONTEXT_TRACKING
477 depends on HAVE_VIRT_CPU_ACCOUNTING_GEN
478 depends on GENERIC_CLOCKEVENTS
482 Select this option to enable task and CPU time accounting on full
484 kernel-user boundaries using the context tracking subsystem.
488 For now this is only useful if you are working on the full
497 depends on HAVE_IRQ_TIME_ACCOUNTING && !VIRT_CPU_ACCOUNTING_NATIVE
500 accounting. This is done by reading a timestamp on each
508 depends on IRQ_TIME_ACCOUNTING || PARAVIRT_TIME_ACCOUNTING
509 depends on SMP
513 default y if ARM && ARM_CPU_TOPOLOGY
514 default y if ARM64
515 depends on SMP
516 depends on CPU_FREQ_THERMAL
525 i.e. put less load on throttled CPUs than on non/less throttled ones.
532 depends on MULTIUSER
546 depends on BSD_PROCESS_ACCT
547 default n
558 depends on NET
559 depends on MULTIUSER
560 default n
566 space on task exit.
571 bool "Enable per-task delay accounting"
572 depends on TASKSTATS
575 Collect information on time spent by a task waiting for system
584 depends on TASKSTATS
592 bool "Enable per-task storage I/O accounting"
593 depends on TASK_XACCT
595 Collect information on the number of bytes of storage I/O which this
621 default n
622 depends on PSI
625 per default but can be enabled through passing psi=1 on the
630 common scheduling-intense workloads in practice (such as
643 depends on SMP || COMPILE_TEST
644 default y
657 default n
665 on-disk kernel. This information can be extracted from the kernel
666 image file with the script scripts/extract-ikconfig and used as
673 depends on IKCONFIG && PROC_FS
680 depends on SYSFS
682 This option enables access to the in-kernel headers that are generated during
685 kheaders.ko is built which can be loaded on-demand to get access to headers.
691 default 17
692 depends on PRINTK
709 depends on SMP
711 default 12 if !BASE_SMALL
712 default 0 if BASE_SMALL
713 depends on PRINTK
715 This option allows to increase the default ring buffer size
722 the original static one is unused. It makes sense only on systems
724 contributions is greater than the half of the default kernel ring
725 buffer as defined by LOG_BUF_SHIFT. The default values are set
744 int "Temporary per-CPU printk log buffer size (12 => 4KB, 13 => 8KB)"
746 default 13
747 depends on PRINTK
749 Select the size of an alternate printk per-CPU buffer where messages
751 be NMI messages, another one - printk recursion. The messages are
757 8KB if you want to be on the safe side.
780 depends on CPU_FREQ_GOV_SCHEDUTIL
783 of each CPU based on RUNNABLE tasks scheduled on that CPU.
799 default 5
800 depends on UCLAMP_TASK
805 the precision of clamping aggregation and tracking at run-time.
811 If a second 30% boosted task should be co-scheduled on the same CPU,
820 CPU. If that should be considered not acceptable on certain systems,
822 clamp buckets to trade off used memory for run-time tracking
825 If in doubt, use the default value.
830 # For architectures that want to enable the support for NUMA-affine scheduler
839 # must provide guarantees on what happens if a clean TLB cache entry is
847 def_bool !$(cc-option,$(m64-flag) -D__SIZEOF_INT128__=0) && 64BIT
856 # all cpu-local but of different latencies, such as SuperH.
863 depends on ARCH_SUPPORTS_NUMA_BALANCING
864 depends on !ARCH_WANT_NUMA_VARIABLE_LOCALITY
865 depends on SMP && NUMA && MIGRATION
868 The mechanism is quite primitive and is based on migrating memory when
869 it has references to the node the task is running on.
871 This system will be inactive on UMA systems.
875 default y
876 depends on NUMA_BALANCING
878 If set, automatic NUMA balancing will be enabled if running on a NUMA
889 - Documentation/scheduler/sched-design-CFS.rst (CFS)
890 - Documentation/admin-guide/cgroup-v1/ (features for grouping, isolation
909 depends on MEMCG && SWAP
910 default y
914 depends on MEMCG && !SLOB
915 default y
919 depends on BLOCK
920 default n
929 block layer to implement upper limit in IO rates on a device.
937 See Documentation/admin-guide/cgroup-v1/blkio-controller.rst for more information.
941 depends on MEMCG && BLK_CGROUP
942 default y
946 default n
955 depends on CGROUP_SCHED
956 default CGROUP_SCHED
960 depends on FAIR_GROUP_SCHED
961 default n
967 See Documentation/scheduler/sched-bwc.rst for more information.
971 depends on CGROUP_SCHED
972 default n
976 schedule realtime tasks for non-root users until you allocate
978 See Documentation/scheduler/sched-rt-group.rst for more information.
984 depends on CGROUP_SCHED
985 depends on UCLAMP_TASK
986 default n
989 of each CPU based on RUNNABLE tasks currently scheduled on that CPU.
998 specified task-specific clamp value is constrained by the cgroup
1037 controller includes important in-kernel memory consumers per default.
1043 depends on HUGETLB_PAGE
1045 default n
1048 When you enable this, you can put a per cgroup limit on HugeTLB usage.
1059 depends on SMP
1064 This is primarily useful on large SMP or NUMA systems.
1070 depends on CPUSETS
1071 default y
1087 depends on PERF_EVENTS
1089 This option extends the perf per-cpu mode to restrict monitoring
1090 to threads which belong to the cgroup specified and run on the
1098 depends on BPF_SYSCALL
1104 In which context these programs are accessed depends on the type
1106 BPF_CGROUP_INET_INGRESS will be executed on the ingress path of
1111 default n
1112 depends on DEBUG_KERNEL
1123 default n
1129 depends on MULTIUSER
1130 default !EXPERT
1141 default y
1148 depends on GENERIC_VDSO_TIME_NS
1149 default y
1156 depends on (SYSVIPC || POSIX_MQUEUE)
1157 default y
1164 default n
1171 user-space use the memory control groups to limit the amount
1178 default y
1186 depends on NET
1187 default y
1197 default n
1220 depends on SYSFS
1221 default n
1230 This option allows new kernels to run on old distributions and tools,
1234 Recent distributions and userspace tools after 2009/2010 depend on
1238 Only if you are using a new kernel on an old distribution, you might
1242 bool "Enable deprecated sysfs features by default"
1243 default n
1244 depends on SYSFS
1245 depends on SYSFS_DEPRECATED
1247 Enable deprecated sysfs by default.
1252 Only if you are using a new kernel on an old distribution, you might
1257 bool "Kernel->user space relay support (formerly relayfs)"
1275 etc. See <file:Documentation/admin-guide/initrd.rst> for details.
1279 15 Kbytes (more on some other architectures) to the kernel size.
1297 See <file:Documentation/admin-guide/bootconfig.rst> for details.
1303 default CC_OPTIMIZE_FOR_PERFORMANCE
1306 bool "Optimize for performance (-O2)"
1308 This is the default optimization level for the kernel, building
1309 with the "-O2" compiler flag for best performance and most
1310 helpful compile-time warnings.
1313 bool "Optimize more for performance (-O3)"
1314 depends on ARC
1316 Choosing this option will pass "-O3" to your compiler to optimize
1320 bool "Optimize for size (-Os)"
1322 Choosing this option will pass "-Os" to your compiler resulting
1339 depends on HAVE_LD_DEAD_CODE_DATA_ELIMINATION
1340 depends on EXPERT
1341 depends on $(cc-option,-ffunction-sections -fdata-sections)
1342 depends on $(ld-option,--gc-sections)
1345 the linker by compiling with -ffunction-sections -fdata-sections,
1346 and linking with --gc-sections.
1348 This can reduce on disk and in-memory size of the kernel
1350 on small systems. This has the possibility of introducing
1357 depends on ARCH_WANT_LD_ORPHAN_WARN
1358 depends on !LD_IS_LLD || LLD_VERSION >= 110000
1359 depends on $(ld-option,--orphan-handling=warn)
1370 Enable support for /proc/sys/debug/exception-trace.
1375 Enable support for /proc/sys/kernel/ignore-unaligned-usertrap
1377 about unaligned access emulation going on under the hood.
1382 Enable support for /proc/sys/kernel/unaligned-trap
1390 # interpreter that classic socket filters depend on
1396 # Unhide debug options, to make the on-by-default options visible
1401 environments which can tolerate a "non-standard" kernel.
1405 bool "Enable 16-bit UID system calls" if EXPERT
1406 depends on HAVE_UID16 && MULTIUSER
1407 default y
1409 This enables the legacy 16-bit UID syscall wrappers.
1413 default y
1415 This option enables support for non-root users, groups and
1430 no longer supported in libc but still enabled by default in some
1433 If unsure, leave the default option here.
1437 default y
1448 default y
1460 default y
1476 default y
1488 depends on PRINTK
1489 depends on HAVE_NMI
1493 default y
1502 depends on COREDUMP
1503 default y
1510 bool "Enable PC-Speaker support" if EXPERT
1511 depends on HAVE_PCSPKR_PLATFORM
1513 default y
1515 This option allows to disable the internal PC-Speaker
1519 default y
1520 bool "Enable full-sized data structures for core" if EXPERT
1523 kernel data structures. This saves memory on small machines,
1528 default y
1533 run glibc-based applications correctly.
1537 depends on FUTEX && RT_MUTEXES
1538 default y
1542 depends on FUTEX
1550 default y
1557 default y
1560 on a file descriptor.
1566 default y
1569 events on a file descriptor.
1575 default y
1584 default y
1585 depends on MMU
1591 which may be appropriate on small systems without swap.
1595 default y
1604 default y
1612 default y
1627 default y
1631 the cost of user-space memory barriers asymmetrically by transforming
1639 default y
1647 depends on DEBUG_KERNEL && KALLSYMS
1657 size (depending on the kernel configuration, it may be 300KiB or
1664 depends on KALLSYMS
1665 default X86_64 && SMP
1669 depends on KALLSYMS
1670 default !IA64
1673 emit the symbol references in the kallsyms table as 32-bit entries,
1680 On 64-bit builds, this reduces the size of the address table by 50%,
1683 up the entries based on the runtime load address of the kernel.
1691 depends on BPF_EVENTS
1692 depends on BPF_SYSCALL
1693 depends on SECURITY
1694 depends on BPF_JIT
1706 default n
1716 depends on BPF_SYSCALL && HAVE_EBPF_JIT && BPF_JIT
1723 depends on HAVE_EBPF_JIT && BPF_JIT
1729 depends on MMU
1742 default y
1743 depends on HAVE_RSEQ
1747 user-space cache for the current CPU number value, which
1748 speeds up getting the current CPU number from user-space,
1749 as well as an ABI to speed up user-space operations on
1750 per-CPU data.
1755 default n
1757 depends on RSEQ && DEBUG_KERNEL
1793 default y if PROFILING
1794 depends on HAVE_PERF_EVENTS
1801 Software events are supported either built-in or via the
1807 suffered, or branches mis-predicted - without slowing down the
1809 when a threshold number of events have passed - and can thus be
1810 used to profile the code that runs on that CPU.
1816 capabilities on top of those.
1821 default n
1823 depends on PERF_EVENTS && DEBUG_KERNEL && !PPC
1828 Mostly useful for debugging the vmalloc code on platforms
1836 default y
1841 on EXPERT systems. /proc/vmstat will only show page counts
1845 default y
1847 depends on SLUB && SYSFS
1855 default n
1856 bool "Enable memcg SLUB sysfs support by default" if EXPERT
1857 depends on SLUB && SYSFS && MEMCG
1866 config option determines the parameter's default value.
1870 default y
1874 This option changes the bootup default to heap randomization
1878 On non-ancient distros (post-2000 ones) N is usually a safe choice.
1882 default SLUB
1902 and has enhanced diagnostics. SLUB is the default choice for
1906 depends on EXPERT
1911 does not perform as well on large systems.
1917 default y
1926 merging at runtime, "slab_nomerge" can be passed on the kernel
1931 depends on SLAB || SLUB
1933 Randomizes the freelist order used on creating new pages. This
1939 depends on SLAB || SLUB
1945 sanity-checking than others. This option is most effective with
1950 default SLAB_FREELIST_RANDOM && ACPI_NUMA
1953 utilization of a direct-mapped memory-side-cache. See section
1956 the presence of a memory-side-cache. There are also incidental
1959 default granularity of shuffling on the "MAX_ORDER - 1" i.e,
1960 10th order of pages is selected based on cache utilization
1961 benefits on x86.
1964 negatively impact workloads on platforms without a cache. For
1965 this reason, by default, the randomization is enabled only
1966 after runtime detection of a direct-mapped memory-side-cache.
1973 default y
1974 depends on SLUB && SMP
1979 in the latency of the free. On overflow these caches will be cleared
1985 depends on EXPERT && !MMU
1986 default n
1996 ELF-FDPIC binfmt's brk and stack allocator.
1999 enabled on embedded devices where you control what is run in
2000 userspace. Since that isn't generally a problem on no-MMU systems,
2003 See Documentation/admin-guide/mm/nommu-mmap.rst for more information.
2045 default 0 if BASE_FULL
2046 default 1 if !BASE_FULL
2077 default n
2080 --force). Forced module loading sets the 'F' (forced) taint flag and
2093 depends on MODULE_UNLOAD
2097 without waiting for anyone to stop using it (using the -f option to
2113 default HAVE_ASM_MODVERSIONS && MODVERSIONS
2121 depends on MODVERSIONS
2140 <file:Documentation/admin-guide/module-signing.rst>.
2148 another LSM - otherwise unsigned modules will be loadable regardless
2158 depends on MODULE_SIG
2165 default y
2166 depends on MODULE_SIG
2169 modules must be signed manually, using the scripts/sign-file tool.
2171 comment "Do not forget to sign required modules with scripts/sign-file"
2172 depends on MODULE_SIG_FORCE && !MODULE_SIG_ALL
2176 depends on MODULE_SIG
2182 the signature on that module.
2185 bool "Sign modules with SHA-1"
2189 bool "Sign modules with SHA-224"
2193 bool "Sign modules with SHA-256"
2197 bool "Sign modules with SHA-384"
2201 bool "Sign modules with SHA-512"
2208 depends on MODULE_SIG
2209 default "sha1" if MODULE_SIG_SHA1
2210 default "sha224" if MODULE_SIG_SHA224
2211 default "sha256" if MODULE_SIG_SHA256
2212 default "sha384" if MODULE_SIG_SHA384
2213 default "sha512" if MODULE_SIG_SHA512
2216 bool "Compress modules on installation"
2220 xz depending on "Compression algorithm" below.
2222 module-init-tools MAY support gzip, and kmod MAY support gzip and xz.
2224 Out-of-tree kernel modules installed using Kbuild will also be
2236 depends on MODULE_COMPRESS
2237 default MODULE_COMPRESS_GZIP
2242 GZIP (default) and XZ are supported.
2267 default y if X86
2283 depends on !UNUSED_SYMBOLS
2287 on the set of modules being selected in your kernel configuration,
2295 If unsure, or if you need to build out-of-tree modules, say N.
2299 depends on TRIM_UNUSED_KSYMS
2301 By default, all unused exported symbols will be un-exported from the
2305 exported at all times, even in absence of in-tree users. The value to
2314 depends on PERF_EVENTS || TRACING
2331 depends on SMP
2340 functions to call on what tags.
2354 # macros for not-implemented syscalls in kernel/sys_ni.c and
2355 # kernel/time/posix-stubs.c. All these overrides need to be available in