Re: [git pull] scheduler updates

From: Linus Torvalds
Date: Sat Nov 08 2008 - 13:29:03 EST




On Sat, 8 Nov 2008, Ingo Molnar wrote:
>
> Ingo Molnar (2):
> sched: improve sched_clock() performance
> sched: optimize sched_clock() a bit

Btw, why do we do that _idiotic_ rdtsc_barrier() AT ALL?

No sane user can possibly want it. If you do 'rdtsc', there's nothing you
can do about a few cycles difference due to OoO _anyway_. Adding barriers
is entirely meaningless - it's not going to make the return value mean
anything else.

Can we please just remove that idiocy? Or can somebody give a _sane_
argument for 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/