lkml.org 
[lkml]   [2010]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86: Export tsc related information in sysfs
From
Date
On Tue, 2010-05-18 at 23:13 +0200, Andi Kleen wrote:
> > I'm not in favor of emulating rdtsc instructions. I would consider
> > letting them SIGILL (actually SIGSEGV since RDTSC #GP in userspace) when
> > the TSC is unavailable, though.
>
> I doubt we could ever do that, it would likely break just too much
> code. Yes the code is already broken likely on some system, but there's

s/some/most/

> a big difference between wrong time and crash.

Maybe start with a patch that logs all users and start sending patches
to the respective projects to clean them up.

Once we get most of userspace running fine, we can switch it to
generating faults.

Of course closed source stuff will have to deal with it themselves, but
who cares about that anyway ;-)




\
 
 \ /
  Last update: 2010-05-19 08:29    [W:0.093 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site