diff options
| author | Sultan Qasim Khan <sultanqasim@gmail.com> | 2015-09-06 20:49:26 -0400 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-25 20:37:34 +0200 |
| commit | 21816a5435a1f48b8f2fe170aca2f3218b432cda (patch) | |
| tree | 5bf594e0662a9e642ab8d59005186e109bebde66 /drivers | |
| parent | 6ed539c0aed83617b559d3e1b70ce9ce29c6fc5f (diff) | |
block: zram: make LZ4 the default backend
LZ4 is much faster than LZO, and should be preferred when available.
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/block/zram/zcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/zram/zcomp.c b/drivers/block/zram/zcomp.c index 540a349c6..e92e4f529 100644 --- a/drivers/block/zram/zcomp.c +++ b/drivers/block/zram/zcomp.c @@ -44,10 +44,10 @@ struct zcomp_strm_multi { }; static struct zcomp_backend *backends[] = { - &zcomp_lzo, #ifdef CONFIG_ZRAM_LZ4_COMPRESS &zcomp_lz4, #endif + &zcomp_lzo, NULL }; |
