[d-kernel] [PATCH 1/1] config: CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y

antohami на basealt.ru antohami на basealt.ru
Пн Мар 13 10:46:34 MSK 2023


From: Anton Midyukov <antohami на altlinux.org>

1. Now to enable CONFIG_SQUASHFS_DECOMP_* you need to enable
CONFIG_SQUASHFS_COMPILE_DECOMP_*. Since CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI
was not set CONFIG_SQUASHFS_DECOMP_MULTI is ignored and
CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is selected
2. Algorithm MULTI_PERCPU in modern conditions looks better than MULTI. Since
hyper_threading is not relevant now, it is not available outside of intel,
then there is no point in making two threads per core now. aarch64
processors have many cores, but they are slow.

Signed-off-by: Anton Midyukov <antohami на altlinux.org>
---
 config | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/config b/config
index 7a9be2c8203ff..172a7f96e174a 100644
--- a/config
+++ b/config
@@ -9618,9 +9618,8 @@ CONFIG_CRAMFS_BLOCKDEV=y
 CONFIG_SQUASHFS=m
 # CONFIG_SQUASHFS_FILE_CACHE is not set
 CONFIG_SQUASHFS_FILE_DIRECT=y
-# CONFIG_SQUASHFS_DECOMP_SINGLE is not set
-CONFIG_SQUASHFS_DECOMP_MULTI=y
-# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is not set
+CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU=y
+CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y
 CONFIG_SQUASHFS_XATTR=y
 CONFIG_SQUASHFS_ZLIB=y
 CONFIG_SQUASHFS_LZ4=y
-- 
2.33.7



Подробная информация о списке рассылки devel-kernel