Re: [PATCH V2 0/6][RFC] futex: FUTEX_LOCK with optional adaptivespinning

From: Peter Zijlstra
Date: Tue Apr 06 2010 - 09:35:46 EST


On Tue, 2010-04-06 at 16:28 +0300, Avi Kivity wrote:
>
> Yes, but that's the best case for spinning. You could simply use a
> userspace spinlock in this case.

Userspace spinlocks are evil.. they should _never_ be used.

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