aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorEmil Muratov <gpm@hotplug.ru>2018-08-02 00:15:44 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2018-09-29 17:23:11 +0200
commitb9e89adfb7881806d01e3bd259852e352f3b3ce8 (patch)
treed538dd83ba59601a00e183e29a1fe59415dbdae1 /package/kernel/linux
parent33f47c28c6e881936f1b8dbd200b4b5724738bd0 (diff)
downloadupstream-b9e89adfb7881806d01e3bd259852e352f3b3ce8.tar.gz
upstream-b9e89adfb7881806d01e3bd259852e352f3b3ce8.tar.bz2
upstream-b9e89adfb7881806d01e3bd259852e352f3b3ce8.zip
zram-swap: compression algorithm configuration option
Compression algorithms for zram are provided by kernel crypto API, could be any of [lzo|zl4|deflate|<some_more>] depending on kernel modules. Compress algo for zram-swap could be defined via 'zram_comp_algo' option in 'system' section of '/etc/config/system' file, or via cli (for e.x. with 'uci set system.@System[0].zram_comp_algo=lz4 && uci commit system'). check available algo's via 'cat /sys/block/zram0 /comp_algorithm' Signed-off-by: Emil Muratov <gpm@hotplug.ru>
Diffstat (limited to 'package/kernel/linux')
0 files changed, 0 insertions, 0 deletions