Re: Disable (or make configurable and default to off) suspend-then-hibernate behavior in GNOME-3.30

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




----- Original Message -----
> Hi,
> 
> On Fri, Sep 14, 2018 at 11:09 AM, Bastien Nocera <bnocera@xxxxxxxxxx> wrote:
> >> The kernel shouldn't be exposing features it can't reliably provide.
> >> Again, as I understand it, it's not even a hardware-supported situation,
> >> it
> >> can
> >> potentially fail on *any system* if the swap partition is filled up
> >> the wrong way,
> >> if i'm not mistaken.
> >
> > There's multiple levels of "support". The kernel doesn't know if it has
> > enough
> > swap, this is checked by user-space, systemd in this case.
> But that's bonkers, there's no way systemd can know either.
> The only way to make this reliable is if the kernel has a dedicated hibernate
> partition the same size as ram that doesn't get used for anything but
> hibernate, right?

That's what this does:
https://github.com/systemd/systemd/blob/master/src/shared/sleep-config.c#L243
_______________________________________________
desktop mailing list -- desktop@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to desktop-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/desktop@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux