Comment 2 for bug 1798291

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

When inserting the zram module, it will be used by the lz4_compress module, and cannot be removed afterward:

ubuntu@modoc:~$ lsmod | grep zram
ubuntu@modoc:~$ sudo modprobe zram
ubuntu@modoc:~$ lsmod | grep zram
zram 33608 1
lz4_compress 4465 1 zram
ubuntu@modoc:~$ sudo modprobe -r zram
modprobe: FATAL: Module zram is in use.
ubuntu@modoc:~$ sudo modprobe -r lz4_compress
modprobe: FATAL: Module lz4_compress is in use.