procd: increase memory allocated for tmpfs on zram
authorNathan Hintz <nlhintz@hotmail.com>
Sat, 24 Jan 2015 03:36:47 +0000 (19:36 -0800)
committerJohn Crispin <blogic@openwrt.org>
Wed, 28 Jan 2015 09:46:37 +0000 (10:46 +0100)
commit7676df3226da5391c2dfda2ed29a40500e04e15b
tree4ca8b0104d191e7e5bc98792d17c67664c02827b
parent7e6045fe4558e442e97e4a8967f08689d53f2cc4
procd: increase memory allocated for tmpfs on zram

Devices with <= 32MB of ram get half of memory allocated to zram (up to 16MB).
Devices with > 32MB of ram get just 8MB of memory allocated to zram.

Increase memory allocated to devices with > 32MB ram to 16MB.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
initd/zram.c