ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: antohami@basealt.ru
To: devel-kernel@lists.altlinux.org
Subject: [d-kernel] [PATCH 1/1] config: CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y
Date: Mon, 13 Mar 2023 14:46:34 +0700
Message-ID: <59c877bbadb1737b2919609e7b97b5a29900ec90.1678693470.git.antohami@altlinux.org> (raw)
In-Reply-To: <cover.1678693468.git.antohami@altlinux.org>

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



      parent reply	other threads:[~2023-03-13  7:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-13  7:46 [d-kernel] [PATCH 0/1] un-def/6.2: CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y antohami
2023-03-13  7:42 ` [d-kernel] [PATCH 0/1] un-def/6.2: Add Firefly Station P2 support antohami
2023-03-13  7:42   ` [d-kernel] [PATCH 1/1] Add rk3568-firefly-roc-pc.dts from Armbian antohami
2023-03-15 13:17   ` [d-kernel] [PATCH 0/1] un-def/6.2: CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y Vitaly Chikunov
2023-03-13  7:46 ` antohami [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59c877bbadb1737b2919609e7b97b5a29900ec90.1678693470.git.antohami@altlinux.org \
    --to=antohami@basealt.ru \
    --cc=devel-kernel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git