# Re: \[PATCH v4 1/2\] drivers/misc: sysgenid: add system generation id driver

- From: Pavel Machek \<hidden\>
- Date: 2021-01-27 22:16:13 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/01/6250166
- Thread: https://ratatoskr.run/linux-doc/2021/01/6231545/t.md

```text
Hi!

> - Solution
> 
> The System Generation ID is a simple concept meant to alleviate the
> issue by providing a monotonically increasing u32 counter that changes
> each time the VM or container is restored from a snapshot.

I'd make it u64.

But as people explained, this has race problems that may be impossible
to solve?

Best regards,
								Pavel
								
-- 
http://www.livejournal.com/~pavelmachek
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-doc/2021/01/6250166/attachment/0) (application/pgp-signature, 181 bytes)
