History log of /freebsd-9.3-release/share/man/man9/locking.9
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256005 02-Oct-2013 jhb

MFC 233422,233680,233681,237619,239904,249373,252346,252379,252423:
Sync locking(9) with HEAD. The only change not merged is that 9 still
supports !MPSAFE filesystems.


# 237216 18-Jun-2012 eadler

MFC r233648:
Remove trailing whitespace per mdoc lint warning

Approved by: cperciva (implicit)


# 236616 05-Jun-2012 trasz

MFC r236237:

Fix lock interaction table for rmlocks - by default they cannot sleep,
just like rwlocks.


# 236235 29-May-2012 gjb

MFC r235693:

Typo and mdoc(7) style fixes.

PR: 168117


# 235582 17-May-2012 gjb

MFC r235319:

Remove duplicate words in mdoc(7) pages.

PR: 167810


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 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 30-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.