aboutsummaryrefslogtreecommitdiffstats
path: root/tools/missing-macros/src/m4/mfx_limits.m4
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2020-07-30 13:49:18 +0100
committerJo-Philipp Wich <jo@mein.io>2020-09-17 10:29:40 +0200
commit419f149e482641ddc520f80a7ab2038f7e2ebc8a (patch)
tree6c5661d4ce54160e775a639978509e06ff14e254 /tools/missing-macros/src/m4/mfx_limits.m4
parent0fbdb51f7643db5fa4423333a68f34c6952dba24 (diff)
downloadupstream-419f149e482641ddc520f80a7ab2038f7e2ebc8a.tar.gz
upstream-419f149e482641ddc520f80a7ab2038f7e2ebc8a.tar.bz2
upstream-419f149e482641ddc520f80a7ab2038f7e2ebc8a.zip
zram-swap: default to lzo instead of lzo-rle compression
On devices with small amounts of RAM, zram-swap fails to initialise due to the default compression algorithm (lzo-rle). Startup example on an AirGrid M2, with 32 MiB of RAM: root@airgrid:/etc/config# /etc/init.d/zram start zram_start: activating '/dev/zram0' for swapping (13 MegaBytes) zram_reset: enforcing defaults via /sys/block/zram0/reset sh: write error: Out of memory mkswap: image is too small swapon: /dev/zram0: Invalid argument root@airgrid:/etc/config# Fix this by defaulting to traditional lzo, which works fine and is always available. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'tools/missing-macros/src/m4/mfx_limits.m4')
0 files changed, 0 insertions, 0 deletions