Kconfig (dae68fba8e115fd84d820354f79da1481135acbd) Kconfig (83c0b27266ecfe8366d849be77ff6ff8f702ffed)
1# SPDX-License-Identifier: GPL-2.0-only
2config CC_VERSION_TEXT
3 string
4 default "$(CC_VERSION_TEXT)"
5 help
6 This is used in unclear ways:
7
8 - Re-run Kconfig when the compiler is updated

--- 115 unchanged lines hidden (view full) ---

124 # TODO: when gcc 15 is released remove the build test and add
125 # a gcc version check
126 def_bool $(success,echo 'struct flex { int count; int array[] __attribute__((__counted_by__(count))); };' | $(CC) $(CLANG_FLAGS) -x c - -c -o /dev/null -Werror)
127 # clang needs to be at least 19.1.3 to avoid __bdos miscalculations
128 # https://github.com/llvm/llvm-project/pull/110497
129 # https://github.com/llvm/llvm-project/pull/112636
130 depends on !(CC_IS_CLANG && CLANG_VERSION < 190103)
131
1# SPDX-License-Identifier: GPL-2.0-only
2config CC_VERSION_TEXT
3 string
4 default "$(CC_VERSION_TEXT)"
5 help
6 This is used in unclear ways:
7
8 - Re-run Kconfig when the compiler is updated

--- 115 unchanged lines hidden (view full) ---

124 # TODO: when gcc 15 is released remove the build test and add
125 # a gcc version check
126 def_bool $(success,echo 'struct flex { int count; int array[] __attribute__((__counted_by__(count))); };' | $(CC) $(CLANG_FLAGS) -x c - -c -o /dev/null -Werror)
127 # clang needs to be at least 19.1.3 to avoid __bdos miscalculations
128 # https://github.com/llvm/llvm-project/pull/110497
129 # https://github.com/llvm/llvm-project/pull/112636
130 depends on !(CC_IS_CLANG && CLANG_VERSION < 190103)
131
132config RUSTC_HAS_COERCE_POINTEE
133 def_bool RUSTC_VERSION >= 108400
134
132config PAHOLE_VERSION
133 int
134 default $(shell,$(srctree)/scripts/pahole-version.sh $(PAHOLE))
135
136config CONSTRUCTORS
137 bool
138
139config IRQ_WORK

--- 991 unchanged lines hidden (view full) ---

1131 help
1132 Provides enforcement of RDMA resources defined by IB stack.
1133 It is fairly easy for consumers to exhaust RDMA resources, which
1134 can result into resource unavailability to other consumers.
1135 RDMA controller is designed to stop this from happening.
1136 Attaching processes with active RDMA resources to the cgroup
1137 hierarchy is allowed even if can cross the hierarchy's limit.
1138
135config PAHOLE_VERSION
136 int
137 default $(shell,$(srctree)/scripts/pahole-version.sh $(PAHOLE))
138
139config CONSTRUCTORS
140 bool
141
142config IRQ_WORK

--- 991 unchanged lines hidden (view full) ---

1134 help
1135 Provides enforcement of RDMA resources defined by IB stack.
1136 It is fairly easy for consumers to exhaust RDMA resources, which
1137 can result into resource unavailability to other consumers.
1138 RDMA controller is designed to stop this from happening.
1139 Attaching processes with active RDMA resources to the cgroup
1140 hierarchy is allowed even if can cross the hierarchy's limit.
1141
1142config CGROUP_DMEM
1143 bool "Device memory controller (DMEM)"
1144 select PAGE_COUNTER
1145 help
1146 The DMEM controller allows compatible devices to restrict device
1147 memory usage based on the cgroup hierarchy.
1148
1149 As an example, it allows you to restrict VRAM usage for applications
1150 in the DRM subsystem.
1151
1139config CGROUP_FREEZER
1140 bool "Freezer controller"
1141 help
1142 Provides a way to freeze and unfreeze all tasks in a
1143 cgroup.
1144
1145 This option affects the ORIGINAL cgroup interface. The cgroup2 memory
1146 controller includes important in-kernel memory consumers per default.

--- 30 unchanged lines hidden (view full) ---

1177
1178config CPUSETS_V1
1179 bool "Legacy cgroup v1 cpusets controller"
1180 depends on CPUSETS
1181 default n
1182 help
1183 Legacy cgroup v1 cpusets controller which has been deprecated by
1184 cgroup v2 implementation. The v1 is there for legacy applications
1152config CGROUP_FREEZER
1153 bool "Freezer controller"
1154 help
1155 Provides a way to freeze and unfreeze all tasks in a
1156 cgroup.
1157
1158 This option affects the ORIGINAL cgroup interface. The cgroup2 memory
1159 controller includes important in-kernel memory consumers per default.

--- 30 unchanged lines hidden (view full) ---

1190
1191config CPUSETS_V1
1192 bool "Legacy cgroup v1 cpusets controller"
1193 depends on CPUSETS
1194 default n
1195 help
1196 Legacy cgroup v1 cpusets controller which has been deprecated by
1197 cgroup v2 implementation. The v1 is there for legacy applications
1185 which haven't migrated to the new cgroup v2 interface yet. Legacy
1186 interface includes cpuset filesystem and /proc/<pid>/cpuset. If you
1198 which haven't migrated to the new cgroup v2 interface yet. If you
1187 do not have any such application then you are completely fine leaving
1188 this option disabled.
1189
1190 Say N if unsure.
1191
1192config PROC_PID_CPUSET
1193 bool "Include legacy /proc/<pid>/cpuset file"
1199 do not have any such application then you are completely fine leaving
1200 this option disabled.
1201
1202 Say N if unsure.
1203
1204config PROC_PID_CPUSET
1205 bool "Include legacy /proc/<pid>/cpuset file"
1194 depends on CPUSETS_V1
1206 depends on CPUSETS
1195 default y
1196
1197config CGROUP_DEVICE
1198 bool "Device controller"
1199 help
1200 Provides a cgroup controller implementing whitelists for
1201 devices which a process in the cgroup can mknod or open.
1202

--- 234 unchanged lines hidden (view full) ---

1437 default y
1438 help
1439 Each entry in an initramfs cpio archive carries an mtime value. When
1440 enabled, extracted cpio items take this mtime, with directory mtime
1441 setting deferred until after creation of any child entries.
1442
1443 If unsure, say Y.
1444
1207 default y
1208
1209config CGROUP_DEVICE
1210 bool "Device controller"
1211 help
1212 Provides a cgroup controller implementing whitelists for
1213 devices which a process in the cgroup can mknod or open.
1214

--- 234 unchanged lines hidden (view full) ---

1449 default y
1450 help
1451 Each entry in an initramfs cpio archive carries an mtime value. When
1452 enabled, extracted cpio items take this mtime, with directory mtime
1453 setting deferred until after creation of any child entries.
1454
1455 If unsure, say Y.
1456
1457config INITRAMFS_TEST
1458 bool "Test initramfs cpio archive extraction" if !KUNIT_ALL_TESTS
1459 depends on BLK_DEV_INITRD && KUNIT=y
1460 default KUNIT_ALL_TESTS
1461 help
1462 Build KUnit tests for initramfs. See Documentation/dev-tools/kunit
1463
1445choice
1446 prompt "Compiler optimization level"
1447 default CC_OPTIMIZE_FOR_PERFORMANCE
1448
1449config CC_OPTIMIZE_FOR_PERFORMANCE
1450 bool "Optimize for performance (-O2)"
1451 help
1452 This is the default optimization level for the kernel, building

--- 499 unchanged lines hidden (view full) ---

1952 help
1953 Say Y here to enable the extended profiling support mechanisms used
1954 by profilers.
1955
1956config RUST
1957 bool "Rust support"
1958 depends on HAVE_RUST
1959 depends on RUST_IS_AVAILABLE
1464choice
1465 prompt "Compiler optimization level"
1466 default CC_OPTIMIZE_FOR_PERFORMANCE
1467
1468config CC_OPTIMIZE_FOR_PERFORMANCE
1469 bool "Optimize for performance (-O2)"
1470 help
1471 This is the default optimization level for the kernel, building

--- 499 unchanged lines hidden (view full) ---

1971 help
1972 Say Y here to enable the extended profiling support mechanisms used
1973 by profilers.
1974
1975config RUST
1976 bool "Rust support"
1977 depends on HAVE_RUST
1978 depends on RUST_IS_AVAILABLE
1960 depends on !MODVERSIONS
1979 select EXTENDED_MODVERSIONS if MODVERSIONS
1980 depends on !MODVERSIONS || GENDWARFKSYMS
1961 depends on !GCC_PLUGIN_RANDSTRUCT
1962 depends on !RANDSTRUCT
1963 depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
1964 depends on !CFI_CLANG || HAVE_CFI_ICALL_NORMALIZE_INTEGERS_RUSTC
1965 select CFI_ICALL_NORMALIZE_INTEGERS if CFI_CLANG
1966 depends on !CALL_PADDING || RUSTC_VERSION >= 108100
1967 depends on !KASAN_SW_TAGS
1968 depends on !(MITIGATION_RETHUNK && KASAN) || RUSTC_VERSION >= 108300

--- 16 unchanged lines hidden (view full) ---

1985 default "$(RUSTC_VERSION_TEXT)"
1986 help
1987 See `CC_VERSION_TEXT`.
1988
1989config BINDGEN_VERSION_TEXT
1990 string
1991 depends on RUST
1992 # The dummy parameter `workaround-for-0.69.0` is required to support 0.69.0
1981 depends on !GCC_PLUGIN_RANDSTRUCT
1982 depends on !RANDSTRUCT
1983 depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
1984 depends on !CFI_CLANG || HAVE_CFI_ICALL_NORMALIZE_INTEGERS_RUSTC
1985 select CFI_ICALL_NORMALIZE_INTEGERS if CFI_CLANG
1986 depends on !CALL_PADDING || RUSTC_VERSION >= 108100
1987 depends on !KASAN_SW_TAGS
1988 depends on !(MITIGATION_RETHUNK && KASAN) || RUSTC_VERSION >= 108300

--- 16 unchanged lines hidden (view full) ---

2005 default "$(RUSTC_VERSION_TEXT)"
2006 help
2007 See `CC_VERSION_TEXT`.
2008
2009config BINDGEN_VERSION_TEXT
2010 string
2011 depends on RUST
2012 # The dummy parameter `workaround-for-0.69.0` is required to support 0.69.0
1993 # (https://github.com/rust-lang/rust-bindgen/pull/2678). It can be removed when
1994 # the minimum version is upgraded past that (0.69.1 already fixed the issue).
2013 # (https://github.com/rust-lang/rust-bindgen/pull/2678) and 0.71.0
2014 # (https://github.com/rust-lang/rust-bindgen/pull/3040). It can be removed
2015 # when the minimum version is upgraded past the latter (0.69.1 and 0.71.1
2016 # both fixed the issue).
1995 default "$(shell,$(BINDGEN) --version workaround-for-0.69.0 2>/dev/null)"
1996
1997#
1998# Place an empty function call at each tracepoint site. Can be
1999# dynamically changed for a probe function.
2000#
2001config TRACEPOINTS
2002 bool

--- 64 unchanged lines hidden ---
2017 default "$(shell,$(BINDGEN) --version workaround-for-0.69.0 2>/dev/null)"
2018
2019#
2020# Place an empty function call at each tracepoint site. Can be
2021# dynamically changed for a probe function.
2022#
2023config TRACEPOINTS
2024 bool

--- 64 unchanged lines hidden ---