# Re: \[PATCH v2\] mm: Enable suspend-only swap spaces

- From: Pavel Machek \<hidden\>
- Date: 2021-07-27 12:04:17 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2021/07/1459408
- Thread: https://ratatoskr.run/linux-mm/2021/07/1437556/t.md

```text
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
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-api/2021/07/1459408/attachment/0) (application/pgp-signature, 195 bytes)
