Re: swap-on-ZRAM by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 11, 2020 at 3:29 AM Roberto Ragusa <mail@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux