Re: [RFT/PATCH v2 2/6] x86-64: Optimize vread_tsc's barriers

From: Linus Torvalds
Date: Thu Apr 07 2011 - 14:31:47 EST


On Thu, Apr 7, 2011 at 11:15 AM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
>
> I would prefer to be safe than sorry.

There's a difference between "safe" and "making up theoretical
arguments for the sake of an argument".

If Intel _documented_ the "barriers on each side", I think you'd have a point.

As it is, we're not doing the "safe" thing, we're doing the "extra
crap that costs us and nobody has ever shown is actually worth it".

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