@@ -35,13 +35,11 @@ CONFIG_CONTEXT_TRACKING_USER=y
3535#
3636# there are situations in which idle CPUs cannot enter
3737# a dynctick or adaptive-tick mode, the most common reason
38- # being when a CPU has RCU callbacks pending. We can avoid
39- # this by processing all RCU callbacks in the "rcuo" kthread
40- # that we can 'boost' to real-time priority to prevent RCU
41- # stalls in real-time heavy workloads.
42- CONFIG_RCU_NOCB_CPU=y
43- CONFIG_RCU_NOCB_CPU_DEFAULT_ALL=y
44- CONFIG_RCU_NOCB_CPU_CB_BOOST=y
38+ # being when a CPU has RCU callbacks pending. However boosting
39+ # this thread will compete with the realtime task. So let's
40+ # disable this for now.
41+ CONFIG_RCU_NOCB_CPU_DEFAULT_ALL=n
42+ CONFIG_RCU_BOOST=n
4543
4644# memory management tuning
4745#
@@ -144,6 +142,15 @@ CONFIG_RODATA_FULL_DEFAULT_ENABLED=n
144142# using cutdown configuration designed to minimizeRT latency)
145143CONFIG_UNMAP_KERNEL_AT_EL0=n
146144
145+ # We have little need for page pool statistics. Because this has a impact for the
146+ # CPU when allocating and recycling pages just disable it.
147+ CONFIG_PAGE_POOL_STATS=n
148+
149+ # While process accounting statistics is useful, the number of processes and
150+ # all the accounting needed for them has an affect on RT reponsiveness.
151+ CONFIG_BSD_PROCESS_ACCT=n
152+ CONFIG_TASKSTATS=n
153+
147154# Disable control groups which are not minimum required by systemd and docker.
148155# These can be enabled as per need of end application.
149156#
@@ -164,6 +171,16 @@ CONFIG_CGROUP_CPUACCT=n
164171CONFIG_CGROUP_PERF=n
165172CONFIG_CGROUP_BPF=n
166173
174+ # HACK: Remove security features with real-time latency effects.
175+ # Unless you have aggressive latency goals you will most likely
176+ # want these feature enabled. ;)
177+ CONFIG_ARM64_TAGGED_ADDR_ABI=n
178+ CONFIG_SECCOMP=n
179+ CONFIG_STACKPROTECTOR=n
180+ CONFIG_VMAP_STACK=n
181+ CONFIG_GCC_PLUGINS=n
182+ CONFIG_RANDOMIZE_BASE=n
183+
167184#Disable PM features
168185CONFIG_HOTPLUG_CPU=n
169186CONFIG_CPU_IDLE=n
0 commit comments