From: Nathan Hintz Date: Sat, 24 Jan 2015 03:36:47 +0000 (-0800) Subject: procd: increase memory allocated for tmpfs on zram X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7676df3226da5391c2dfda2ed29a40500e04e15b;p=project%2Fprocd.git 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 --- diff --git a/initd/zram.c b/initd/zram.c index 4dc1d2e..49480af 100644 --- a/initd/zram.c +++ b/initd/zram.c @@ -44,7 +44,7 @@ proc_meminfo(void) fclose(fp); if (val > KB(32)) - val = KB(16); + val = KB(32); return val; }