diff options
author | Emil Muratov <gpm@hotplug.ru> | 2018-08-02 00:18:45 +0300 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-18 17:22:05 +0100 |
commit | 9a5509736a8e58d294f0d977a619cd8940845453 (patch) | |
tree | 799f986a28c7e89493e8f38ee868e543164a7791 /package/network/config/ipip | |
parent | 5ff4ea6bc4d2bff3407e5ec509ff779ccf66782c (diff) | |
download | upstream-9a5509736a8e58d294f0d977a619cd8940845453.tar.gz upstream-9a5509736a8e58d294f0d977a619cd8940845453.tar.bz2 upstream-9a5509736a8e58d294f0d977a619cd8940845453.zip |
zram-swap: fix zram dev reset for multicore cpu devices
* "zram stop" could reset up to $(num_of_cores) zram devices even if
some of those were not mounted as swap dev's. This fix tries to
enumerate mounted swap zram dev's before making a reset
* remove hot-added zram devs on stop (except zram0)
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
(backported from 9edc1fe8abac6638cd05640279bc741a23b8d260)
Diffstat (limited to 'package/network/config/ipip')
0 files changed, 0 insertions, 0 deletions