mbox series

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

Message ID 20200507071951.635743820@linux.com (mailing list archive)
Headers show
Series hibernate: add config option for snapshot device | expand

Message

Domenico Andreoli May 7, 2020, 7:19 a.m. UTC
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/20200501151452.621900831@gmail.com/
[1] https://lore.kernel.org/linux-pm/20200413190843.044112674@gmail.com/

Comments

Rafael J. Wysocki May 19, 2020, 3:51 p.m. UTC | #1
On Thu, May 7, 2020 at 9:24 AM Domenico Andreoli
<domenico.andreoli@linux.com> wrote:
>
> 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

Both patches applied as 5.8 material with cosmetic changes in the
subjects, thanks!