Re: [PATCH -v8][RFC] mutex: implement adaptive spinning

From: Linus Torvalds
Date: Mon Jan 12 2009 - 11:21:36 EST




On Mon, 12 Jan 2009, Linus Torvalds wrote:
>
> You made it back into the locked version.

Btw, even if you probably had some reason for this, one thing to note is
that I think Chris' performance testing showed that the version using a
lock was inferior to his local btrfs hack, while the unlocked version
actually beat his hack.

Maybe I misunderstood his numbers, though. But if I followed that sub-part
of the test right, it really means that the locked version is pointless -
it will never be able to replace peoples local hacks for this same thing,
because it just doesn't give the performance people are looking for.

Since the whole (and _only_) point of this thing is to perform well,
that's a big deal.

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/