On Tue, Feb 11, 2020 at 3:29 AM Roberto Ragusa <mail(a)robertoragusa.it> wrote:
On 2020-02-11 05:05, John M. Harris Jr wrote:
> They do, but that doesn't negate the fact that it is actually supported (you
> can hibernate your system), and using swap on zram outright breaks hibernation
> (for obvious reasons).
You would need to
swapon /dev/arealdisk
swapoff /dev/zram0
hibernate
certainly a slow process.
It's not necessary to disable the zram device, the kernel knows
better. The hibernation image is not the same thing as page outs to
the swap device, even though they share the same swap device. The
kernel requires that the hibernation image be written contiguously to
a single swap device. And the kernel has supported multiple swap
devices since forever.
--
Chris Murphy