zram-swap: fix number of created zram devices for multicore CPU's
authorEmil Muratov <gpm@hotplug.ru>
Wed, 1 Aug 2018 21:50:00 +0000 (00:50 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Sep 2018 15:23:11 +0000 (17:23 +0200)
commit814cae7362c3bd57e8fd9305d5d0b48ff219d4d0
tree27381f24a28bd6e4cd3139ff8c6ef71ff007f59a
parent9edc1fe8abac6638cd05640279bc741a23b8d260
zram-swap: fix number of created zram devices for multicore CPU's

Use only one zram swap device of the specified $size instead of
[N x $size] devices for multicore CPUs Now zram module uses multiple
compression streams for each dev by default, so we do not need to create
several zram devs to utilize multicore CPUs.

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
package/system/zram-swap/files/zram.init [changed mode: 0644->0755]