Re: [PATCH] x86: Export tsc related information in sysfs
From: Peter Zijlstra
Date: Wed May 19 2010 - 02:27:10 EST
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 ;-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/