[CRIU] clock_gettime(MONOTONIC) changing after restore

Cyrill Gorcunov gorcunov at gmail.com
Wed Aug 5 08:49:50 PDT 2015


On Wed, Aug 05, 2015 at 06:19:39PM +0300, Pavel Emelyanov wrote:
> On 08/03/2015 05:30 PM, Christopher Covington wrote:
> > 
> > B) Change the kernel to allow setting the monotonic clock. The whole point of
> > the monotonic clock is that it can't be modified at run time, but maybe a boot
> > parameter would be acceptable? One would have to estimate and add in the time
> > it takes for the system to boot/kexec and run CRIU restore.
> 
> This is the way we ... expect it to be fixed. The effort is known by the title
> "time namespace", when a new container starts we may be able to specify some
> time offset that will be applied to all the time-ings we will get from the kernel.

Yes. I'm thinking of it. Didn't come up with conclusion yet or any prototype,
but it's not forgotten.


More information about the CRIU mailing list