[RFC 0/2] ABI for clock_gettime_ns
From: Andy Lutomirski
Date: Mon Dec 12 2011 - 20:26:48 EST
On x86-64, clock_gettime is so fast that the overhead converting to and
from nanoseconds is non-negligible. clock_gettime_ns is a different
interface that is potentially faster. If people like the ABI, I'll
implement an optimized version.
For the git-inclined, this series is at
https://git.kernel.org/?p=linux/kernel/git/luto/linux.git;a=shortlog;h=refs/heads/timing/clock_gettime_ns/rfc_v1
Andy Lutomirski (2):
Add clock_gettime_ns syscall
x86-64: Add __vdso_clock_gettime_ns vsyscall
arch/x86/include/asm/unistd_64.h | 2 +
arch/x86/vdso/vclock_gettime.c | 70 +++++++++++++++++++++++++++++---------
arch/x86/vdso/vdso.lds.S | 7 ++++
include/linux/syscalls.h | 2 +
kernel/posix-timers.c | 29 ++++++++++++++++
5 files changed, 94 insertions(+), 16 deletions(-)
--
1.7.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/