[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 11 Nov 2019 04:41:33 -0500 (EST)
From: Jan Stancek <jstancek@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org, ltp@...ts.linux.it,
viro@...iv.linux.org.uk, kstewart@...uxfoundation.org,
gregkh@...uxfoundation.org, rfontana@...hat.com
Subject: Re: [PATCH] kernel: use ktime_get_real_ts64() to calculate
acct.ac_btime
----- Original Message -----
> It's wrecked in general. It also jumps around for any REALTIME
> adjustment.
>
> > So a CLOCK_REALTIME time stamp at fork would at least be correct
> > vs. suspend resume.
>
> But still wrecked vs REALTIME jumps, as in, when DST flips the clock
> back an hour, your timestamp is in the future.
>
> Any which way around the whole thing is buggered. The only real fix is
> not using REALTIME anything. Which is why I'm loath to add that REALTIME
> timestamp at fork(), it just encourages more use.
Thank you for feedback and listing all other problems.
I'll adjust test expectations.
Regards,
Jan
Powered by blists - more mailing lists