moby: note that PREEMPT kernel config options are *required* for boot

This commit is contained in:
2024-09-24 03:06:38 +00:00
parent de6c5f2720
commit 9f72c5ccb2

View File

@@ -89,12 +89,6 @@ linux_latest.override {
NO_HZ_IDLE = yes; NO_HZ_IDLE = yes;
NO_HZ_FULL = lib.mkForce no; NO_HZ_FULL = lib.mkForce no;
CONTEXT_TRACKING_USER = no; CONTEXT_TRACKING_USER = no;
PREEMPTION = yes;
PREEMPT = lib.mkForce yes;
PREEMPT_BUILD = yes;
PREEMPT_COUNT = yes;
PREEMPT_RCU = yes;
PREEMPT_VOLUNTARY_BUILD = no;
TICK_CPU_ACCOUNTING = yes; TICK_CPU_ACCOUNTING = yes;
VIRT_CPU_ACCOUNTING = no; VIRT_CPU_ACCOUNTING = no;
TASKS_RCU = yes; TASKS_RCU = yes;
@@ -104,6 +98,13 @@ linux_latest.override {
STANDALONE = lib.mkForce yes; STANDALONE = lib.mkForce yes;
IO_STRICT_DEVMEM = no; IO_STRICT_DEVMEM = no;
RUNTIME_TESTING_MENU = lib.mkForce yes; RUNTIME_TESTING_MENU = lib.mkForce yes;
# TODO: at least one of these is actually required for boot.
PREEMPTION = yes;
PREEMPT = lib.mkForce yes;
PREEMPT_BUILD = yes;
PREEMPT_COUNT = yes;
PREEMPT_RCU = yes;
PREEMPT_VOLUNTARY_BUILD = no;
# TODO: at least one of these is actually required for boot. # TODO: at least one of these is actually required for boot.
SOFTLOCKUP_DETECTOR_INTR_STORM = no; SOFTLOCKUP_DETECTOR_INTR_STORM = no;