lkml.org 
[lkml]   [2010]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: Export tsc related information in sysfs
On 05/18/2010 12:16 PM, Dan Magenheimer wrote:
>
> Oops, hit send too soon.
>
> And the reason I expect tglx/arjan/andi/mingo to disagree is because
> their position is that there is NO safe use for rdtsc in userspace EVER!
> Whereas your position stated earlier:
>
>> There are restricted uses of the TSC in userspace which are still
>> useful
>> (mainly involving performance analysis and/or CPU-locked processes).
>
> says there are.
>
> While the engineer in me agrees with tglx/arjan/andi/mingo, the
> realist in me agrees with you.

I should have added "that are not related to wall time" to the statement
above.

Furthermore, vsyscalls are user space from a CPU perspective.

-hpa



\
 
 \ /
  Last update: 2010-05-18 21:33    [from the cache]
©2003-2011 Jasper Spaans