On Fri, Sep 14, 2018 at 08:07:35PM -0400, Ray Strode wrote:
On Fri, Sep 14, 2018, 6:30 PM Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl>
> Systemd compares the amount of memory used to the available swap space
> and does not offer hibernation if there isn't enough. I haven't seen
> reports that this calculation is not done properly.
I was told years ago that there's no way userspace can reliably know, and
even if we activated a dedicated bigger-than-memory sized swap partition
immediately before hibernate started it could still fail. maybe things
have improved since then, or maybe it wasn't accurate information. dunno.
Sure, this is correct. But the chances of that happening are fairly low,
so among all the problems we have, this seems like a relatively minor issue.