Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1502976
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -v4 5/8] locking/mutex: Add lock handoff to avoid starvation |
| Date | 2016-10-18 15:10 +0200 |
| Message-ID | <stCjw-25f-33@gated-at.bofh.it> (permalink) |
| References | <spEWB-2dt-5@gated-at.bofh.it> <spFpD-2pN-17@gated-at.bofh.it> <stBQt-1EF-23@gated-at.bofh.it> <stCjw-25f-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Oct 17, 2016 at 03:07:54PM -0400, Waiman Long wrote: > One more thing, I think it may be worthwhile to add another comment about > what happens when the HANDOFF bit was set while we take the error path (goto > err). As the actual handoff is serialized by the wait_lock, the code will > still do the right thing. Either the next one in the queue will be handed > off or it will be unlocked if the queue is empty. Doesn't the next patch add just such a comment?
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH -v4 5/8] locking/mutex: Add lock handoff to avoid starvation Peter Zijlstra <peterz@infradead.org> - 2016-10-18 15:10 +0200
csiph-web