Skip to contentSkip to conversation

arm-add-support-for-lz4-compressed-kernel-fix.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Jul 8, 2013 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

Subject: [folded-merged] arm-add-support-for-lz4-compressed-kernel-fix.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 15:34:23 -0700

The patch titled
Subject: arm: Remove enforced Os flag for LZ4 decompressor
has been removed from the -mm tree. Its filename was
arm-add-support-for-lz4-compressed-kernel-fix.patch

This patch was dropped because it was folded into arm-add-support-for-lz4-compressed-kernel.patch

------------------------------------------------------
From: Kyungsik Lee <[email protected]>
Subject: arm: Remove enforced Os flag for LZ4 decompressor

-Os is enforced here, based on the test result of decompression time below, slightly faster than -O2.

But further tests with UA show that using -O2 will be the right choice especially in the case of the unaligned access enabled and the gap, few counts in the normal decompression mode is small enough to remove -Os.

Decompression Time(counts)

     Normal    UA enabled
-Os  6717      3447
-O2  6720      2728

Note: ARM v7, Kernel 3.4

      counter freq. = 32768 HZ
      UA(Unaligned Access)
      gcc version 4.6.2
Cc Thomas Gleixner <[email protected]>
Cc Russell King <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Florian Fainelli <[email protected]>
Cc Yann Collet <[email protected]>

---

 arch/arm/boot/compressed/Makefile |    3 ---
 1 file changed, 3 deletions(-)
arch/arm/boot/compressed/Makefile renamed from arch/arm/boot/compressed/Makefile~arm-add-support-for-lz4-compressed-kernel-fix +0 -3
diff -puN arch/arm/boot/compressed/Makefile~arm-add-support-for-lz4-compressed-kernel-fix arch/arm/boot/compressed/Makefile
@@ -27,9 +27,6 @@ OBJS	+= misc.o decompress.o
 ifeq ($(CONFIG_DEBUG_UNCOMPRESS),y)
 OBJS	+= debug.o
 endif
-ifeq ($(CONFIG_KERNEL_LZ4),y)
-CFLAGS_decompress.o := -Os
-endif
 FONTC	= $(srctree)/lib/fonts/font_acorn_8x8.c
 
 # string library code (-Os is enforced to keep it much smaller)

_

Patches currently in -mm which might be from [email protected] are

lib-add-weak-clz-ctz-functions.patch
decompressor-add-lz4-decompressor-module.patch lib-add-support-for-lz4-compressed-kernel.patch lib-add-support-for-lz4-compressed-kernel-kbuild-fix-for-updated-lz4-tool-with-the-new-streaming-format.patch arm-add-support-for-lz4-compressed-kernel.patch x86-add-support-for-lz4-compressed-kernel.patch x86-add-support-for-lz4-compressed-kernel-doc-add-lz4-magic-number-for-the-new-compression.patch lib-add-lz4-compressor-module.patch
crypto-add-lz4-cryptographic-api.patch
crypto-add-lz4-cryptographic-api-fix.patch