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

From: Peter Zijlstra
Date: Tue May 18 2010 - 12:52:48 EST


On Tue, 2010-05-18 at 09:40 -0700, H. Peter Anvin wrote:
>
> The problem is that you throw the baby (vsyscall) out with the bathwater
> (user rdtsc).

Well, we could only flip the CR4 bit when we mark the TSC unsuitable for
gtod. That should be plenty good to tag all userspace trying to use it,
since more than half my machines don't use TSC for clocksource.
--
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/