#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
252423 |
|
30-Jun-2013 |
bjk |
Grammar tweaks for locking.9
Reviewed by: jhb Approved by: hrs (mentor)
|
#
252379 |
|
29-Jun-2013 |
joel |
mdoc: remove EOL whitespace.
|
#
252346 |
|
28-Jun-2013 |
jhb |
Make a pass over this page to correct and clarify a few things as well as some general word-smithing. - Don't claim that adaptive mutexes have a timeout (they don't). - Don't treat pool mutexes as a separate primitive in a few places. - Describe sleepable read-mostly locks as a separate lock type and add them to the various tables. - Don't claim that sx locks are less efficient. That hasn't been true in a few years now. - Describe lockmanager locks next to sx locks since they are very similar in terms of rules, etc., and so that all the lock primitives are grouped together before the non-lock primitives. - Similarly, move the section on Giant after the description of all the non-lock primitives to preserve grouping. - Condition variables work on several types of locks, not just mutexes. - Add a bit of language to compare/contrast condition variables with sleep/wakeup. - Add a note about why pause(9) is unique. - Add some language to define bounded vs unbounded sleeps and explain why they are treated separately (bounded sleeps only need CPU time to make forward progress). - Don't state that using mtx_sleep() is a bad idea. It is in fact rather necessary. - Rework the interaction table a bit. First, it did not include really include sleepable rmlocks and it left out lockmgr entirely. To get things to fit, combine similar lock types into the same column / row, and explicitly state what "sleep" means. The notes about recursion and lock order were also a bit banal (lock order is always important, not just in the few places annotated here), so remove them. In particular, the lock order note would need to be on just about every cell. If we want to document recursion I think a better approach would be a separate table summarizing the recursion rules for each lock as having too many notes clutters the table. - Tweak the tables to use less indentation so everything still fits with the added columns. - Correct a few cells in the context mode table. - Use mdoc markup instead of explicit markup in a few places.
Requested by: julian MFC after: 2 weeks
|
#
250912 |
|
22-May-2013 |
emaste |
Remove reference to removed !MPSAFE filesystem support
|
#
249373 |
|
11-Apr-2013 |
joel |
Remove contractions.
|
#
239904 |
|
30-Aug-2012 |
pluknet |
Remove a duplicated "thread".
|
#
237619 |
|
27-Jun-2012 |
julian |
Try clean up some of my original text and neaten a table.
MFC after: 1 week
|
#
236237 |
|
29-May-2012 |
trasz |
Fix lock interaction table for rmlocks - by default they cannot sleep, just like rwlocks.
MFC after: 1 week
|
#
235693 |
|
20-May-2012 |
gjb |
Typo and mdoc(7) style fixes.
PR: 168117 Submitted by: Nobuyuki Koganemaru (kogane&jp!freebsd!org) MFC after: 3 days
|
#
235319 |
|
12-May-2012 |
gjb |
Remove duplicate words in mdoc(7) pages.
PR: 167810 Submitted by: Bryan Drewery {bryan!shatow%net} (hackers lounge) Found with: textproc/igor MFC after: 3 days
|
#
233681 |
|
29-Mar-2012 |
joel |
Fix typo from last commit.
Noticed by: brueffer
|
#
233680 |
|
29-Mar-2012 |
joel |
Remove unnecessary Xo/Xc.
Reviewed by: brueffer
|
#
233648 |
|
29-Mar-2012 |
eadler |
Remove trailing whitespace per mdoc lint warning
Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
|
#
233422 |
|
24-Mar-2012 |
joel |
Remove superfluous paragraph macro.
|
#
214752 |
|
03-Nov-2010 |
trasz |
Xref BUS_SETUP_INTR(9) and locking(9).
|
#
212112 |
|
01-Sep-2010 |
mlaier |
rmlock(9) two additions and one change/fix: - add rm_try_rlock(). - add RM_SLEEPABLE to use sx(9) as the back-end lock in order to sleep while holding the write lock. - change rm_noreadtoken to a cpu bitmask to indicate which CPUs need to go through the lock/unlock in order to synchronize. As a side effect, this also avoids IPI to CPUs without any readers during rm_wlock.
Discussed with: ups@, rwatson@ on arch@ Sponsored by: Isilon Systems, Inc.
|
#
211780 |
|
24-Aug-2010 |
trasz |
s/ithread/interrupt thread/
|
#
210676 |
|
31-Jul-2010 |
joel |
Fix a bunch of typos and spelling mistakes.
|
#
203929 |
|
15-Feb-2010 |
trasz |
Some rewording and language fixes.
PR: docs/136918, docs/134074 Submitted by: Ben Kaduk <kaduk at mit dot edu>, Haven Hash <havenster at gmail dot com>
|
#
203825 |
|
13-Feb-2010 |
trasz |
Remove list of locking primitives, which is kind of redundant, move information about witness(9) to the section about interactions, and expand 'contexts' table.
|
#
203762 |
|
10-Feb-2010 |
trasz |
Start sentences with a new line.
Submitted by: brueffer
|
#
203759 |
|
10-Feb-2010 |
trasz |
Improve description for Giant and mention blocking inside interrupt threads.
|
#
203131 |
|
28-Jan-2010 |
trasz |
Cosmetic fixes.
|
#
203127 |
|
28-Jan-2010 |
trasz |
Add description of bounded sleep vs unbounded sleep (aka blocking). Move rules into their own section.
|
#
203122 |
|
28-Jan-2010 |
trasz |
Improve descriptions, remove turnstiles (since, from what I understand, they are only used to implement other synchronization primitives), tweak formatting.
|
#
173444 |
|
08-Nov-2007 |
ups |
Initial checkin for rmlock (read mostly lock) a multi reader single writer lock optimized for almost exclusive reader access. (see also rmlock.9)
TODO: Convert to per cpu variables linkerset as soon as it is available. Optimize UP (single processor) case.
|
#
171798 |
|
09-Aug-2007 |
julian |
Corrections and clarifications
Approved by: re (bmah)
|
#
170970 |
|
21-Jun-2007 |
brueffer |
Remove duplicate xref and add missing commas.
PR: 113891 Submitted by: pluknet <pluknet@gmail.com> Approved by: re (blanket)
|
#
170177 |
|
01-Jun-2007 |
delphij |
Markup fixes.
|
#
170142 |
|
31-May-2007 |
imp |
Giant is special. How do I love thee? Let me count the ways?
errr, I mean "Enumerate how the giant lock differs from other locks"
Please let me know if I missed any. Or misrepresented any...
Reviewed by: ssouhlal@
|
#
167697 |
|
19-Mar-2007 |
delphij |
- Remove an unneeded comma - Remove a redundant .Xc - Spell "Largely" as it should.
|
#
167680 |
|
18-Mar-2007 |
julian |
More corrections, this time from Wojciech Koszek
|
#
167679 |
|
18-Mar-2007 |
julian |
Spelling and whitespace fixes from Dunne Whitty
|
#
167564 |
|
14-Mar-2007 |
julian |
fix braino in markup.
|
#
167523 |
|
14-Mar-2007 |
julian |
More suggestions from pjd.
|
#
167522 |
|
14-Mar-2007 |
julian |
Some comments from pjd
|
#
167519 |
|
14-Mar-2007 |
julian |
Add locking.9 This is supposed to be a brief overview of the locking primatives. It is not yet complete and contains many place-holders for information I do not know.
The locking is getting so diverse that I've lost track of it all. We need this page to keep outselves in sync with what the primitives do.
note.. not part of the build yet.
|