[Devel] [PATCH 3/5] config.OpenVZ.minimal: disable CONFIG_X86_DECODER_SELFTEST

Alexander Mikhalitsyn alexander.mikhalitsyn at virtuozzo.com
Fri May 21 18:56:11 MSK 2021


From: Dmitry Monakhov <dmonakhov at openvz.org>

CONFIG_X86_DECODER_SELFTEST is time consuming check which not
required during development phase. Let's disable it.

Compilation time comparison
        with opt   w/o option
real    1m31.293s  0m45.884s
user    1m57.299s  1m1.084s
sys     0m17.724s  0m14.527s

Signed-off-by: Dmitry Monakhov <dmonakhov at openvz.org>
(cherry picked from commit a817fdbed90d59e2b54385c6e59ed9fbff2d1ce1)

VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127797

Signed-off-by: Alexander Mikhalitsyn <alexander.mikhalitsyn at virtuozzo.com>
---
 configs/kernel-4.18.0-x86_64-KVM-minimal.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/kernel-4.18.0-x86_64-KVM-minimal.config b/configs/kernel-4.18.0-x86_64-KVM-minimal.config
index b78e5ccefecc..a23ace32d1e1 100644
--- a/configs/kernel-4.18.0-x86_64-KVM-minimal.config
+++ b/configs/kernel-4.18.0-x86_64-KVM-minimal.config
@@ -4562,7 +4562,7 @@ CONFIG_EARLY_PRINTK_EFI=y
 CONFIG_DOUBLEFAULT=y
 # CONFIG_DEBUG_TLBFLUSH is not set
 CONFIG_HAVE_MMIOTRACE_SUPPORT=y
-CONFIG_X86_DECODER_SELFTEST=y
+# CONFIG_X86_DECODER_SELFTEST is not set
 CONFIG_IO_DELAY_TYPE_0X80=0
 CONFIG_IO_DELAY_TYPE_0XED=1
 CONFIG_IO_DELAY_TYPE_UDELAY=2
-- 
2.28.0



More information about the Devel mailing list