Re: [PATCH v2 13/17] x86/tsc: Rename native_read_tsc() to rdtsc_unordered()
From: Borislav Petkov
Date: Sun Jun 14 2015 - 07:54:31 EST
On Sat, Jun 13, 2015 at 11:25:49AM -0700, Andy Lutomirski wrote:
> I could go either way here. rdtsc() is weird because people seem to
> forget about the barrier.
Yeah, our job is only to give them enough rope...
> Maybe I'm being unnecessarily paranoid.
You can always slap a comment above the rdtsc() definition saying that
people should use the _ordered() version if they wanna order. :)
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
--
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/