Messages in this thread Patch in this message | | | From | Andy Lutomirski <> | Subject | [PATCH 2/2] x86: Inline the CLOCK_MONOTONIC vdso code | Date | Wed, 26 Feb 2014 17:02:14 -0800 |
| |
This saves a nanosecond or so on my box.
Signed-off-by: Andy Lutomirski <luto@amacapital.net> --- arch/x86/vdso/vclock_gettime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/vdso/vclock_gettime.c b/arch/x86/vdso/vclock_gettime.c index 260a422..9234c83 100644 --- a/arch/x86/vdso/vclock_gettime.c +++ b/arch/x86/vdso/vclock_gettime.c @@ -263,7 +263,7 @@ notrace static int __always_inline do_realtime(struct timespec *ts) return mode; } -notrace static int do_monotonic(struct timespec *ts) +notrace static int __always_inline do_monotonic(struct timespec *ts) { unsigned long seq; u64 ns; -- 1.8.5.3
| |