[openwrt/openwrt] kernel: switch crc32 implementation back to default
LEDE Commits
lede-commits at lists.infradead.org
Tue Aug 6 12:58:11 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e5dc16e60d73b672409fc724d4de1b369e515fee
commit e5dc16e60d73b672409fc724d4de1b369e515fee
Author: Qingfang Deng <qingfang.deng at siflower.com.cn>
AuthorDate: Fri Jun 28 16:20:09 2024 +0800
kernel: switch crc32 implementation back to default
Commit ec885796c05a switched the crc32 implementation from default to
byte-at-a-time algorithm, which runs slower but consumes less memory.
A decade has passed, and we have already abandoned targets that had
small memory, so switch it back to default for faster speed.
Signed-off-by: Qingfang Deng <qingfang.deng at siflower.com.cn>
---
target/linux/generic/config-5.15 | 4 ++--
target/linux/generic/config-6.1 | 4 ++--
target/linux/generic/config-6.6 | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15
index cba00711ca..8e2223aebb 100644
--- a/target/linux/generic/config-5.15
+++ b/target/linux/generic/config-5.15
@@ -1043,10 +1043,10 @@ CONFIG_CRAMFS_BLOCKDEV=y
# CONFIG_CRC16 is not set
CONFIG_CRC32=y
# CONFIG_CRC32_BIT is not set
-CONFIG_CRC32_SARWATE=y
+# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_SELFTEST is not set
# CONFIG_CRC32_SLICEBY4 is not set
-# CONFIG_CRC32_SLICEBY8 is not set
+CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC4 is not set
# CONFIG_CRC64 is not set
# CONFIG_CRC7 is not set
diff --git a/target/linux/generic/config-6.1 b/target/linux/generic/config-6.1
index 70e87665b7..aa47384137 100644
--- a/target/linux/generic/config-6.1
+++ b/target/linux/generic/config-6.1
@@ -1102,10 +1102,10 @@ CONFIG_CRAMFS_BLOCKDEV=y
# CONFIG_CRC16 is not set
CONFIG_CRC32=y
# CONFIG_CRC32_BIT is not set
-CONFIG_CRC32_SARWATE=y
+# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_SELFTEST is not set
# CONFIG_CRC32_SLICEBY4 is not set
-# CONFIG_CRC32_SLICEBY8 is not set
+CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC4 is not set
# CONFIG_CRC64 is not set
# CONFIG_CRC64_ROCKSOFT is not set
diff --git a/target/linux/generic/config-6.6 b/target/linux/generic/config-6.6
index 076a9f9691..e2890e7ffe 100644
--- a/target/linux/generic/config-6.6
+++ b/target/linux/generic/config-6.6
@@ -1004,10 +1004,10 @@ CONFIG_CRAMFS_BLOCKDEV=y
# CONFIG_CRC16 is not set
CONFIG_CRC32=y
# CONFIG_CRC32_BIT is not set
-CONFIG_CRC32_SARWATE=y
+# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_SELFTEST is not set
# CONFIG_CRC32_SLICEBY4 is not set
-# CONFIG_CRC32_SLICEBY8 is not set
+CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC4 is not set
# CONFIG_CRC64 is not set
# CONFIG_CRC64_ROCKSOFT is not set
More information about the lede-commits
mailing list