Re: [PATCH 1/2] lib: Add lz4 compressor module

2013-04-25 Thread Chanho Min
>> gcc seems to define __builtin_clz as __clzsi2 in some architecture. >> But, kernel doesn't link libgcc.a. >> If kernel should use gcc's built-in function without libgcc.a, >> do we need to port __clzsi2 to 'arch/*/lib/*'? > >This breaks alpha (gcc-4.4.4) as well. Can we please get this fixed >

[PATCH 2/2] crypto: Add lz4 Cryptographic API

2013-03-14 Thread Chanho Min
This patch adds support for lz4 and lz4hc compression algorithm using the lib/lz4/* codebase. Signed-off-by: Chanho Min --- crypto/Kconfig | 16 + crypto/Makefile |2 ++ crypto/lz4.c| 105 +++ crypto/lz4hc.c | 105

[PATCH 1/2] lib: Add lz4 compressor module

2013-03-14 Thread Chanho Min
be allocated with the size of lz4_compressbound. Signed-off-by: Chanho Min --- include/linux/lz4.h | 36 lib/Kconfig |6 + lib/Makefile |2 + lib/lz4/Makefile |2 + lib/lz4/lz4_compress.c | 443 + lib

[PATCH 0/2] lib,crypto: Add lz4 compressor module and crypto API

2013-03-14 Thread Chanho Min
essed data Size: 101 MB Compressed Size compression Speed LZO 72.1MB 32.1MB/s, 33.0MB/s(UA) LZ4 75.1MB 30.4MB/s, 35.9MB/s(UA) LZ4HC 59.8MB2.4MB/s, 2.5MB/s(UA) - UA: Unaligned memory Access support - Latest patch set for LZO applied Chanho Min