From bd1bae4e14da178de5b4c11d894bac2ed8f2d617 Mon Sep 17 00:00:00 2001 From: Sergio Lopez Date: Thu, 26 Sep 2024 15:56:58 +0200 Subject: [PATCH] Disable RAID6 auto-benchmark Commit a905d1144 (config: Enable CONFIG_BTRFS_FS) introduced BTRFS support, which depends on the RAID6 library. By default, this library does a benchmark during the initialization to choose the best recovery algorithm. This caused boot time to be increased for ~1.5s. Keep the RAID6 library as it's required by BTRFS, but disable its auto-benchmark. Signed-off-by: Sergio Lopez --- Makefile | 4 ++-- config-libkrunfw_aarch64 | 2 ++ config-libkrunfw_x86_64 | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 48c0d99..870383e 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,8 @@ KERNEL_PATCHES = $(shell find patches/ -name "0*.patch" | sort) KERNEL_C_BUNDLE = kernel.c ABI_VERSION = 4 -FULL_VERSION = 4.4.0 -TIMESTAMP = "Wed Sep 25 18:24:59 CEST 2024" +FULL_VERSION = 4.4.1 +TIMESTAMP = "Thu Sep 26 16:00:58 CEST 2024" KERNEL_FLAGS = KBUILD_BUILD_TIMESTAMP=$(TIMESTAMP) KERNEL_FLAGS += KBUILD_BUILD_USER=root diff --git a/config-libkrunfw_aarch64 b/config-libkrunfw_aarch64 index d9d1880..8859d12 100644 --- a/config-libkrunfw_aarch64 +++ b/config-libkrunfw_aarch64 @@ -2947,6 +2947,8 @@ CONFIG_BINARY_PRINTF=y # # Library routines # +CONFIG_RAID6_PQ=y +# CONFIG_RAID6_PQ_BENCHMARK is not set CONFIG_LINEAR_RANGES=y CONFIG_PACKING=y CONFIG_BITREVERSE=y diff --git a/config-libkrunfw_x86_64 b/config-libkrunfw_x86_64 index e05d8c4..8bb219a 100644 --- a/config-libkrunfw_x86_64 +++ b/config-libkrunfw_x86_64 @@ -2045,6 +2045,8 @@ CONFIG_BINARY_PRINTF=y # # Library routines # +CONFIG_RAID6_PQ=y +# CONFIG_RAID6_PQ_BENCHMARK is not set # CONFIG_PACKING is not set CONFIG_BITREVERSE=y CONFIG_GENERIC_STRNCPY_FROM_USER=y