Re: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)
From: Ingo Molnar
Date: Tue Dec 04 2018 - 04:02:42 EST
* Michal Hocko <mhocko@xxxxxxxxxx> wrote:
> > Do we actually have reports of this happening for people outside
> > Android?
>
> Not that I am aware of.
I'd say outside of Android 99% of the use of hibernation is the fail-safe
that distributions offer on laptops with very low battery levels: the
emergency hibernation when there's almost no power left anymore.
Do these hibernation failure messages typically make it to persistent
logs before the system uses power?
In practice if that is buggy the kernel won't hibernate and the laptop
will run out of power and the user will conclude "ugh, I shouldn't have
left my laptop turned on" - without looking into the logs and reporting,
as they'll perceive it as a user failure not a system failure.
I certainly saw random Linux laptops fail to hibernate over the years and
didn't report it, so if the distribution doesn't do the reporting
automatically then chances are we'll never see it.
Thanks,
Ingo