lkml.org 
[lkml]   [2009]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/4] x86-64: fix vclock_gettime()
From
Date
Andi Kleen píše v Čt 14. 05. 2009 v 16:02 +0200:
> > Sorry, this doesn't work, because the function is inlined. And even if
> > it wasn't, the vDSO must be self-contained by definition. User-space
> > cannot simply call into kernel-space.
>
> Wrong, it can call into vsyscall space.

Ah, yes, you're right. The vsyscall is always mapped and it is a special
case for the instruction replacement code already.

So, is there any reason not to put the rdtsc_barrier() around
vget_cycles() in vread_tsc() ?

Petr Tesarik


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-05-14 16:31    [W:0.149 / U:0.136 seconds]
©2003-2011 Jasper Spaans. Advertise on this site