Skip to content

hibernate: add config option for snapshot device

Domenico Andreoli linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hibernate: incorporate concurrency handlingkernel/power/hibernate.c kernel/power/power.h kernel/power/user.c+22 -120 replies
2/2hibernate: split snapshot dev optionkernel/power/Kconfig kernel/power/Makefile+14 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] hibernate: add config option for snapshot device

Dear maintainers,

These are the improvements over v2 [0]:

- switch back to atomic_t API, refcount saturates when incrementing from zero

These are the improvements over v1 [1]:

- move the mutual exclusion to hibernate.c (it was in user.c)
- switched to refcount_t API (it was atomic_t)
- the option is enabled by default (it was disabled by default)
- remove the premature "DEPRECATED" marking
- drop the redefinition of mutual exclusion helpers (in v2 they are owned by hibernte.c) in case the option is deselected
- add the help message to the config option

Kind regards,
Domenico

[0] https://lore.kernel.org/linux-pm/[email protected]/
[1] https://lore.kernel.org/linux-pm/[email protected]/

Signature · 2 lines
rsa4096: 3B10 0CA1 8674 ACBA B4FE  FCD2 CE5B CF17 9960 DE13
ed25519: FFB4 0CC3 7F2E 091D F7DA  356E CC79 2832 ED38 CB05