From d92ea942e0f77a0e7555a3b98da524e2fca35407 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Tue, 25 May 2021 11:20:38 +0800 Subject: [PATCH] ARM: rv1126_defconfig: Replace CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU by CONFIG_SQUASHFS_DECOMP_MULTI The squashfs multi CPU decompressor makes use of get_cpu_ptr() to acquire a pointer to per-CPU data. get_cpu_ptr() implicitly disables preemption which serializes the access to the per-CPU data. But decompression can take quite some time depending on the size. The observed preempt disabled times in real world scenarios went up to 32ms, causing massive wakeup latencies. This happens on all CPUs as the decompression is fully parallelized. So replace CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU by CONFIG_SQUASHFS_DECOMP_MULTI. Change-Id: I3fb74bca595ee2345f2f7c276eaf8cc68bcd249b Signed-off-by: Tao Huang --- arch/arm/configs/rv1126_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/rv1126_defconfig b/arch/arm/configs/rv1126_defconfig index 9c2657d2191e..176351715cc6 100644 --- a/arch/arm/configs/rv1126_defconfig +++ b/arch/arm/configs/rv1126_defconfig @@ -338,7 +338,7 @@ CONFIG_UBIFS_FS=y CONFIG_UBIFS_FS_ADVANCED_COMPR=y # CONFIG_UBIFS_FS_ZLIB is not set CONFIG_SQUASHFS=y -CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y +CONFIG_SQUASHFS_DECOMP_MULTI=y # CONFIG_SQUASHFS_ZLIB is not set CONFIG_SQUASHFS_LZ4=y CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y