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

From: Andi Kleen
Date: Tue May 18 2010 - 17:13:39 EST


> 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
a big difference between wrong time and crash.

-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/