diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-28 22:53:05 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-28 22:54:04 -0400 |
commit | 7cc1c177de67a79ecdd428bebb8718692a6bff0d (patch) | |
tree | 238e001414d4140476a8ebf2de7cc0742a4a1edd | |
parent | ca77ee47c467f723ba9b1d6ca0bae5966c642492 (diff) |
kconf: GENERIC: Add additional documentation
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/arch/aarch64/conf/GENERIC | 4 | ||||
-rw-r--r-- | sys/arch/amd64/conf/GENERIC | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/sys/arch/aarch64/conf/GENERIC b/sys/arch/aarch64/conf/GENERIC index 5691685..3271cb7 100644 --- a/sys/arch/aarch64/conf/GENERIC +++ b/sys/arch/aarch64/conf/GENERIC @@ -1,5 +1,5 @@ // Kernel options -option SERIAL_DEBUG yes +option SERIAL_DEBUG yes // Enable kmsg serial logging // Kernel constants -setval SCHED_NQUEUE 4 +setval SCHED_NQUEUE 4 // Number of scheduler queues (for MLFQ) diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC index db3ce4c..8e97d6e 100644 --- a/sys/arch/amd64/conf/GENERIC +++ b/sys/arch/amd64/conf/GENERIC @@ -1,9 +1,15 @@ +// // Kernel options -option SPECTRE_IBRS no -option SERIAL_DEBUG yes +// +// XXX: Indirect branch restricted speculation (SPECTRE_IBRS) +// is disabled by default as it can lead to significant +// performance degradation. +// +option SPECTRE_IBRS no // Enable the IBRS CPU feature +option SERIAL_DEBUG yes // Enable kmsg serial logging // Kernel constants -setval SCHED_NQUEUE 4 +setval SCHED_NQUEUE 4 // Number of scheduler queues (for MLFQ) // Console attributes setval CONSOLE_BG 0x000000 |