[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210127221505.GB24799@amd>
Date: Wed, 27 Jan 2021 23:15:05 +0100
From: Pavel Machek <pavel@....cz>
To: Adrian Catangiu <acatan@...zon.com>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
qemu-devel@...gnu.org, kvm@...r.kernel.org,
linux-s390@...r.kernel.org, gregkh@...uxfoundation.org,
graf@...zon.com, arnd@...db.de, ebiederm@...ssion.com,
rppt@...nel.org, 0x7f454c46@...il.com, borntraeger@...ibm.com,
Jason@...c4.com, jannh@...gle.com, w@....eu, colmmacc@...zon.com,
luto@...nel.org, tytso@....edu, ebiggers@...nel.org,
dwmw@...zon.co.uk, bonzini@....org, sblbir@...zon.com,
raduweis@...zon.com, corbet@....net, mst@...hat.com,
mhocko@...nel.org, rafael@...nel.org, mpe@...erman.id.au,
areber@...hat.com, ovzxemul@...il.com, avagin@...il.com,
ptikhomirov@...tuozzo.com, gil@...l.com, asmehra@...hat.com,
dgunigun@...hat.com, vijaysun@...ibm.com, oridgar@...il.com,
ghammer@...hat.com
Subject: Re: [PATCH v4 1/2] drivers/misc: sysgenid: add system generation id
driver
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
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists