Messages in this thread | | | Subject | Re: [PATCH] x86: Export tsc related information in sysfs | From | Peter Zijlstra <> | Date | Wed, 19 May 2010 08:26:26 +0200 |
| |
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 ;-)
| |