Re: [PATCH v2] mm: Enable suspend-only swap spaces
From: Pavel Machek
Date: Tue Jul 27 2021 - 08:04:17 EST
Hi!
> Let's take a look at hibernate() callers:
>
> drivers/mfd/tps65010.c: calls hibernate() from IRQ contex, based on HW
> event
No it does not. Look again.
> kernel/power/autosleep.c: calls hibernate() when it thinks it might be
> a good time to go to sleep
Ok, you are right, it is there. But I don't believe anyone uses this
configuration.
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
Attachment:
signature.asc
Description: PGP signature