Re: [PATCH 3/8] mutex: Modify the way optimistic spinners are queued

From: Jason Low
Date: Mon Feb 10 2014 - 20:33:34 EST


On Mon, 2014-02-10 at 20:58 +0100, Peter Zijlstra wrote:
> Cc: tglx@xxxxxxxxxxxxx
> Cc: riel@xxxxxxxxxx
> Cc: akpm@xxxxxxxxxxxxxxxxxxxx
> Cc: davidlohr@xxxxxx
> Cc: hpa@xxxxxxxxx
> Cc: andi@xxxxxxxxxxxxxx
> Cc: aswin@xxxxxx
> Cc: mingo@xxxxxxxxxx
> Cc: scott.norton@xxxxxx
> Cc: chegu_vinod@xxxxxx
> Cc: Waiman.Long@xxxxxx
> Cc: paulmck@xxxxxxxxxxxxxxxxxx
> Cc: torvalds@xxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Jason Low <jason.low2@xxxxxx>
> Signed-off-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Link: http://lkml.kernel.org/r/1390936396-3962-3-git-send-email-jason.low2@xxxxxx
> ---
> kernel/locking/mutex.c | 17 +++++++----------
> 1 file changed, 7 insertions(+), 10 deletions(-)
>
> --- a/kernel/locking/mutex.c
> +++ b/kernel/locking/mutex.c
> @@ -403,9 +403,9 @@ __mutex_lock_common(struct mutex *lock,
> if (!mutex_can_spin_on_owner(lock))
> goto slowpath;
>
> + mcs_spin_lock(&lock->mcs_lock);

Where did the mcs node go? :)

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