From 8bba326e0a587935d25e9b215113aaa3b95de91e Mon Sep 17 00:00:00 2001 From: Demi Marie Obenour Date: Fri, 5 May 2023 23:40:52 -0400 Subject: [PATCH] Enable full kernel preemption Without kernel preemption, long-running operations in the dom0 kernel (such as dm-thin metadata lookups or dm-crypt encryption and decryption) can make the entire system less responsive. It is easy to trigger this with e.g. a parallel kernel build. Fixes: QubesOS/qubes-issues#8176 (hopefully!) --- config-qubes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config-qubes b/config-qubes index 886ba782..3ee1e618 100644 --- a/config-qubes +++ b/config-qubes @@ -158,6 +158,12 @@ CONFIG_INTEL_PMC_CORE=m # CONFIG_XEN_VIRTIO is not set +## Without kernel preemption, long-running operations in the dom0 kernel (such +## as dm-thin metadata lookups or dm-crypt encryption and decryption) can make +## the entire system less responsive. It is easy to trigger this with e.g. +## a parallel kernel build. +CONFIG_PREEMPT=y + ################################################################################ ## TODO: from diff to old config