Skip to content

Commit

Permalink
Disable split lock detection
Browse files Browse the repository at this point in the history
We have experienced some cases where Guests are generating split lock
exceptions that are flooding the host kernel with traps causing a
tremendous impact to system's performance, besides flooding log buffers
with messages like the following:

x86/split lock detection: #AC: qemu-system-x86/4185 took a split_lock trap at address: 0x699e4dc1

There are several discussions about whether split lock detection should be
enabled or not. Since we cannot predict our workloads, let's disabled it to
avoid these situations.

Signed-off-by: Renê de Souza Pinto <[email protected]>
  • Loading branch information
rene authored and eriknordmark committed Nov 25, 2023
1 parent 0c127a4 commit 86f6301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/grub/rootfs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function set_generic {

set_global dom0 /boot/kernel
set_global dom0_rootfs "root=$rootfs_root"
set_global dom0_cmdline "$linuxkit_cmdline $panic_timeout rfkill.default_state=0"
set_global dom0_cmdline "$linuxkit_cmdline $panic_timeout rfkill.default_state=0 split_lock_detect=off"
}

function set_x86_64 {
Expand Down

0 comments on commit 86f6301

Please sign in to comment.