On Mon, 2010-08-16 at 21:25 +0200, Peter Zijlstra wrote:
That's actually broken, you only want a single offset, otherwise we
de-sync the TSC, which is bad.
So simply store the sched_clock() value at suspend time on the single
CPU that is still running, then on resume make sure sched_clock()
continues there by adding that stamp to all CPU offsets.
--