lkml.org 
[lkml]   [2008]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] Add prctl commands PR_GET_TSC and PR_SET_TSC

>
> I think what Erik is trying to do is to make it possible to disable as
> many of these in the kernel as possible; I/O is easy, it's off by
> default; RDTSC and RDPMC can be disabled in the kernel, and I think
> even XSTORE can be disabled.

I'm a little sceptical it will work reliably, but we'll see.

There's also LSL (forgot that earlier). It is used by the vgetcpu()
because it's faster than CPUID or RDTSCP. Kernel
sets a magic segment up which has different limits for different CPUs.

-Andi



\
 
 \ /
  Last update: 2008-04-13 22:53    [W:0.036 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site