Re: [PATCH] x86: Export tsc related information in sysfs

From: Andi Kleen
Date: Tue May 18 2010 - 07:25:25 EST


On Tue, May 18, 2010 at 11:58:18AM +0200, Peter Zijlstra wrote:
> On Sun, 2010-05-16 at 22:06 -0700, Arjan van de Ven wrote:
> > look we're not disabling ring 3 tsc. We could, but we don't.
>
> Maybe we should.

That would kill the vsyscall too. Remember it's running in ring 3.

That is in theory you could disable it on systems where the vsyscall
doesn't use it, but then you would likely break huge amounts of software,
unless you emulate it.

Emulation would be a possibility, but I'm not sure it would
make anyone really happy. It would be certainly slow.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/