Re: [RFC PATCH 2/3] locking/mutex: Correct documentation on mutex optimistic spinning
From: Davidlohr Bueso
Date: Wed Jun 04 2014 - 16:11:46 EST
On Wed, 2014-06-04 at 12:08 -0700, Jason Low wrote:
> The mutex optimistic spinning documentation states that we spin for
> acquisition when we find that there are no pending waiters. However,
> in actuality, whether or not there are waiters for the mutex doesn't
> determine if we will spin for it.
>
> This patch removes that statement and also adds a comment which
> mentions that we spin for the mutex while we don't need to reschedule.
>
> Signed-off-by: Jason Low <jason.low2@xxxxxx>
Acked-by: Davidlohr Bueso <davidlohr@xxxxxx>
I think this could go in with v4 of the mutex doc rewrite patch...
guessing for 3.17 now.
Thanks,
Davidlohr
--
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/