Re: [PATCH 0/3] 64-bit futexes: Intro

From: Linus Torvalds
Date: Sat May 31 2008 - 18:33:07 EST




On Sat, 31 May 2008, Linus Torvalds wrote:
>
> * Note that we don't need to update the high bits if we
> * succeed (because the writer count is the _pending_ writer
> * count, not the holding one)

Btw, that comment is bogus, ignore it. It comes from an earlier algorithm
I tried that also explained the contention case, but got unnecessarily
complex. Separating out the queuing behaviour from the actual
non-contended behaviour made things much simpler to explain, so I stopped
even bothering with a "both" case.

Too much cut-and-paste, IOW.

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