[Bug 244697] Time goes backward - gettimeofday() vs. rename()
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=244697
john stultz <johnstul(a)us.ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |johnstul(a)us.ibm.com
--- Comment #20 from john stultz <johnstul(a)us.ibm.com> 2010-07-06 18:08:24 EDT ---
(In reply to comment #19)
> hi,
> I probably found the cause and send "startup patch" to lkml.
> You can get some info in here http://lkml.org/lkml/2010/7/2/59
The test program in the above should resolve it, but will cause the file
timestamping to be costly, causing performance issues.
The issue here is that the vsyscall-time() implementation is using gettimeofday
instead of returning the xtime value passed to the update_vsyscall().
Fixing it can be more complex, as on older kernels, the xtime value passed will
not match current_kernel_time either. So the fix I'm suggesting will only work
with 2.6.34+ kernels that include the remove xtime_cache patch (commit
6a867a395558a7f882d041783e4cdea6744ca2bf)
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years, 10 months