lkml.org 
[lkml]   [2011]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC 0/2] ABI for clock_gettime_ns
Date
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



\
 
 \ /
  Last update: 2011-12-13 02:29    [from the cache]
©2003-2011 Jasper Spaans