zram-swap: Add zram compaction and statistics info output
authorEmil Muratov <gpm@hotplug.ru>
Wed, 31 Oct 2018 21:16:58 +0000 (00:16 +0300)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 7 Jul 2019 11:02:06 +0000 (13:02 +0200)
commitb062c90f47dd0745562a8f2618c2a43136a4c7e1
treedbb9373fb9d1d0ee3992dfacf16361075bb517f9
parentc0d93432f2446fbf193ec15e4880cbafa9980779
zram-swap: Add zram compaction and statistics info output

Executing '/etc/init.d/zram start' during runtime (with a swap being already
mounted) triggers zram device compaction and prints out nice stats info about
zram memory usage

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [use IEC's MiB unit]
package/system/zram-swap/Makefile
package/system/zram-swap/files/zram.init