Re: [RFC PATCH 2/3] locking/mutex: Correct documentation on mutex optimistic spinning

Jason Low
2014-06-04T20:31:18Z

On Wed, 2014-06-04 at 13:11 -0700, Davidlohr Bueso wrote:
> 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@hp.com>
>
> Acked-by: Davidlohr Bueso <davidlohr@hp.com>
>
> I think this could go in with v4 of the mutex doc rewrite patch...
> guessing for 3.17 now.

Yeah, this patch could be for 3.17.

Thanks,
Jason