Re: [PATCH 2/2] mutex: Apply adaptive spinning on mutex_trylock()

From: Peter Zijlstra
Date: Wed Mar 30 2011 - 07:52:37 EST


On Wed, 2011-03-30 at 07:46 -0400, Chris Mason wrote:
>
> In this case, the only thing we're really missing is a way to mutex_lock
> without the cond_resched()

So you're trying to explicitly avoid a voluntary preemption point? Seems
like a bad idea, normally people add those :-)
--
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/