On Tue, Feb 11, 2020 at 3:29 AM Roberto Ragusa <m...@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
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to