Procházet zdrojové kódy

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 <[email protected]>
Qingfang Deng před 1 rokem
rodič
revize
e5dc16e60d

+ 2 - 2
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

+ 2 - 2
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

+ 2 - 2
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