Update LZ4 compression library to the latest stable version 1.10.0
for improved performance and bug fixes.
Commit:
a049f5b4bd (diff-f27c1e4d68)
Changes:
- Upgrade LZ4 from [previous version] to 1.10.0
- Remove lz4hc (high compression) variant to simplify codebase
- Update API calls to match new LZ4 interface
- Maintain compatibility with existing ZRAM integration
Benefits:
- Enhanced compression/decompression performance
- Reduced memory usage during compression
- Latest security fixes and stability improvements
- Simplified maintenance without lz4hc complexity
The removal of lz4hc reduces kernel size while standard LZ4 provides
sufficient compression performance for most use cases.
Co-authored-by: JackA1ltman <cs2dtzq@163.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
7 lines
158 B
Makefile
7 lines
158 B
Makefile
ccflags-y += -O3 \
|
|
-DLZ4_FREESTANDING=1 \
|
|
-DLZ4_FAST_DEC_LOOP=1
|
|
|
|
obj-y += lz4.o
|
|
|
|
obj-$(CONFIG_ARM64) += $(addprefix lz4armv8/, lz4accel.o lz4armv8.o)
|