hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/init/Kconfig
....@@ -47,6 +47,18 @@
4747 int
4848 default $(shell,$(srctree)/scripts/clang-version.sh $(CC))
4949
50
+config AS_IS_GNU
51
+ def_bool $(success,test "$(as-name)" = GNU)
52
+
53
+config AS_IS_LLVM
54
+ def_bool $(success,test "$(as-name)" = LLVM)
55
+
56
+config AS_VERSION
57
+ int
58
+ # Use clang version if this is the integrated assembler
59
+ default CLANG_VERSION if AS_IS_LLVM
60
+ default $(as-version)
61
+
5062 config LLD_VERSION
5163 int
5264 default $(shell,$(srctree)/scripts/lld-version.sh $(LD))
....@@ -880,7 +892,7 @@
880892 bool "Memory placement aware NUMA scheduler"
881893 depends on ARCH_SUPPORTS_NUMA_BALANCING
882894 depends on !ARCH_WANT_NUMA_VARIABLE_LOCALITY
883
- depends on SMP && NUMA && MIGRATION && !PREEMPT_RT
895
+ depends on SMP && NUMA && MIGRATION
884896 help
885897 This option adds support for automatic NUMA aware memory/task placement.
886898 The mechanism is quite primitive and is based on migrating memory when
....@@ -987,7 +999,6 @@
987999 config RT_GROUP_SCHED
9881000 bool "Group scheduling for SCHED_RR/FIFO"
9891001 depends on CGROUP_SCHED
990
- depends on !PREEMPT_RT
9911002 default n
9921003 help
9931004 This feature lets you explicitly allocate real CPU bandwidth
....@@ -1961,7 +1972,6 @@
19611972
19621973 config SLAB
19631974 bool "SLAB"
1964
- depends on !PREEMPT_RT
19651975 select HAVE_HARDENED_USERCOPY_ALLOCATOR
19661976 help
19671977 The regular slab allocator that is established and known to work
....@@ -1982,7 +1992,6 @@
19821992 config SLOB
19831993 depends on EXPERT
19841994 bool "SLOB (Simple Allocator)"
1985
- depends on !PREEMPT_RT
19861995 help
19871996 SLOB replaces the stock allocator with a drastically simpler
19881997 allocator. SLOB is generally more space efficient but
....@@ -2049,7 +2058,7 @@
20492058
20502059 config SLUB_CPU_PARTIAL
20512060 default y
2052
- depends on SLUB && SMP && !PREEMPT_RT
2061
+ depends on SLUB && SMP
20532062 bool "SLUB per cpu partial cache"
20542063 help
20552064 Per cpu partial caches accelerate objects allocation and freeing