Messages in this thread | | | Date | Sat, 31 May 2008 15:32:01 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH 0/3] 64-bit futexes: Intro |
| |
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
| |