mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
189046981b
On PPC_8xx, CRC32_SLICEBY4 is more efficient (almost twice) than CRC32_SLICEBY8,
as shown below:
With CRC32_SLICEBY8:
[ 1.109204] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[ 1.114401] crc32: self tests passed, processed 225944 bytes in 15118910 nsec
[ 1.130655] crc32c: CRC_LE_BITS = 64
[ 1.134235] crc32c: self tests passed, processed 225944 bytes in 4479879
nsec
With CRC32_SLICEBY4:
[ 1.097129] crc32: CRC_LE_BITS = 32, CRC_BE BITS = 32
[ 1.101878] crc32: self tests passed, processed 225944 bytes in 8616242 nsec
[ 1.116298] crc32c: CRC_LE_BITS = 32
[ 1.119607] crc32c: self tests passed, processed 225944 bytes in 3289576 nsec
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
CONFIG_PPC_8xx=y
|
|
CONFIG_EXPERIMENTAL=y
|
|
# CONFIG_SWAP is not set
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
|
CONFIG_EXPERT=y
|
|
# CONFIG_SYSCTL_SYSCALL is not set
|
|
# CONFIG_HOTPLUG is not set
|
|
# CONFIG_BUG is not set
|
|
# CONFIG_BASE_FULL is not set
|
|
# CONFIG_EPOLL is not set
|
|
# CONFIG_VM_EVENT_COUNTERS is not set
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_MPC86XADS=y
|
|
CONFIG_8xx_COPYBACK=y
|
|
CONFIG_8xx_CPU6=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_HZ_1000=y
|
|
CONFIG_MATH_EMULATION=y
|
|
CONFIG_SPARSE_IRQ=y
|
|
# CONFIG_SECCOMP is not set
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_SYN_COOKIES=y
|
|
# CONFIG_INET_LRO is not set
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_FIXED_PHY=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_FS_ENET=y
|
|
# CONFIG_VT is not set
|
|
CONFIG_SERIAL_CPM=y
|
|
CONFIG_SERIAL_CPM_CONSOLE=y
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
CONFIG_GEN_RTC=y
|
|
CONFIG_VIDEO_OUTPUT_CONTROL=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT2_FS_XATTR=y
|
|
CONFIG_EXT3_FS=y
|
|
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
|
CONFIG_INOTIFY=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_CRAMFS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
CONFIG_CRC_CCITT=y
|
|
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
|
CONFIG_CRC32_SLICEBY4=y
|