zram: Set default compressor to lz4
This commit is contained in:
parent
2129eb4fe8
commit
bd260c10fc
2 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,11 @@
|
||||||
config ZRAM
|
config ZRAM
|
||||||
tristate "Compressed RAM block device support"
|
tristate "Compressed RAM block device support"
|
||||||
depends on BLOCK && SYSFS && ZSMALLOC && CRYPTO
|
depends on BLOCK && SYSFS && ZSMALLOC && CRYPTO
|
||||||
|
<<<<<<< HEAD
|
||||||
select CRYPTO_ZSTD
|
select CRYPTO_ZSTD
|
||||||
|
=======
|
||||||
|
select CRYPTO_LZ4
|
||||||
|
>>>>>>> 3413b95770db (zram: Set default compressor to lz4)
|
||||||
help
|
help
|
||||||
Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
|
Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
|
||||||
Pages written to these disks are compressed and stored in memory
|
Pages written to these disks are compressed and stored in memory
|
||||||
|
|
|
@ -59,7 +59,7 @@ static DEFINE_IDR(zram_index_idr);
|
||||||
static DEFINE_MUTEX(zram_index_mutex);
|
static DEFINE_MUTEX(zram_index_mutex);
|
||||||
|
|
||||||
static int zram_major;
|
static int zram_major;
|
||||||
static const char *default_compressor = "zstd";
|
static const char *default_compressor = "lz4"
|
||||||
|
|
||||||
static bool is_lzorle;
|
static bool is_lzorle;
|
||||||
#ifdef CONFIG_ZRAM_LRU_WRITEBACK
|
#ifdef CONFIG_ZRAM_LRU_WRITEBACK
|
||||||
|
|
Loading…
Reference in a new issue