lockless gettimeofday

Anton Blanchard anton at samba.org
Fri Feb 14 13:19:19 EST 2003


Hi,

2.5 just got the improved gettimeofday which should prevent any
starvation issues we were seeing in 2.4. It should also be faster
since the rwlock is replaced by two counters, the cost is now 2 extra
loads and 2 read barriers.

With this and sysconfig which allows libc to implement gettimeofday in
userspace Im looking to remove the kernel lockless gettimeofday.
Its quite complex and the gain this gives in 2.5 is less.

Anton

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/




More information about the Linuxppc64-dev mailing list