#
d915b672 |
| 25-Jan-2024 |
Aaron LI <aly@aaronly.me> |
lock.9: Minor markup improvements
Meanwhile, tweak a wording a bit.
|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1 |
|
#
a9ea4065 |
| 21-Jul-2018 |
Sascha Wildner <saw@online.de> |
kernel/lockmgr: Add lockmgr_try().
It just adds LK_NOWAIT to the flags and returns whether the lock was obtained.
It is similar to other functions such as spin_trylock() or FreeBSD's mtx_trylock()
kernel/lockmgr: Add lockmgr_try().
It just adds LK_NOWAIT to the flags and returns whether the lock was obtained.
It is similar to other functions such as spin_trylock() or FreeBSD's mtx_trylock() and can be used to port the latter.
Note that like these functions, it returns TRUE if successful, while lockmgr() returns 0 if successful. This difference was the source of minor confusion and porting mistakes in the past. In fact, our driver porting document also didn't point out this difference. I will fix some of these little issues in a separate commit.
show more ...
|
Revision tags: v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2 |
|
#
b5cb2326 |
| 25-Nov-2017 |
Sascha Wildner <saw@online.de> |
lock.9: lockcount() and lockcountnb() were removed in 3b6a19b26fb9c0e7918.
|
Revision tags: v5.0.1, v5.0.0 |
|
#
bb36d905 |
| 01-Oct-2017 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Fix rare lockmgr() state transition (2)
* Fix two lock timeout cases for LK_EXCLUPGRADE and LK_UPGRADE, and fix a bug in undo_upreq().
* A tsleep failure (such as the LK_TIMELOCK case vi
kernel - Fix rare lockmgr() state transition (2)
* Fix two lock timeout cases for LK_EXCLUPGRADE and LK_UPGRADE, and fix a bug in undo_upreq().
* A tsleep failure (such as the LK_TIMELOCK case via vm_map_lock_read_to()) was not properly backing-out a LKC_UPREQ, resulting in a situation where the lock becomes exclusively owned by nobody and deadlocks against all-comers. Fix by properly calling undo_upreq().
* Fix a bug in undo_upreq() itself. When undoing a granted UPREQ, the lockholder must be set prior to releasing the now-granted exclusive lock in order to avoid an assertion panic.
* While we are at it, replace a weird cmpset count,count with a fetchadd(count, 0).
show more ...
|
Revision tags: v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3 |
|
#
c04308e8 |
| 06-Jun-2014 |
Markus Pfeiffer <markus.pfeiffer@morphism.de> |
locking.9 updates
|
Revision tags: v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1 |
|
#
60d5542f |
| 18-Jan-2014 |
Markus Pfeiffer <markus.pfeiffer@morphism.de> |
manpages: Update documentation of lock(9) to include lockowned
|
Revision tags: v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3 |
|
#
c616d378 |
| 18-Jul-2013 |
Franco Fichtner <franco@lastsummer.de> |
start adding .Mt to email addresses in man pages
This covers share/man/man[1579]. It also consolidates multiple lines into one, removes spurious double quotes in names or emails, and changes punctua
start adding .Mt to email addresses in man pages
This covers share/man/man[1579]. It also consolidates multiple lines into one, removes spurious double quotes in names or emails, and changes punctuation where appropriate. The target style is: .An Name Aq Mt name@somewhere.tdl
show more ...
|
Revision tags: v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3 |
|
#
55a2ee33 |
| 24-Apr-2012 |
Markus Pfeiffer <markus.pfeiffer@morphism.de> |
kernel: Change wmesg type for lockinit, lockreinit
* change type of parameter wmesg to const char * for lockinit and lockreinit. * change type of member wmesg of struct lock to const char * * adap
kernel: Change wmesg type for lockinit, lockreinit
* change type of parameter wmesg to const char * for lockinit and lockreinit. * change type of member wmesg of struct lock to const char * * adapt manpage lock(9)
show more ...
|
Revision tags: v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1 |
|
#
3142490e |
| 02-Dec-2007 |
Sascha Wildner <swildner@dragonflybsd.org> |
Fix typo: LG_CANRECURSE -> LK_CANRECURSE
|
#
d8ff4ae9 |
| 05-Apr-2007 |
Sascha Wildner <swildner@dragonflybsd.org> |
The LK_NOPAUSE flag was removed last year.
|
#
b13563f4 |
| 29-Jun-2006 |
Sascha Wildner <swildner@dragonflybsd.org> |
Sync with reality:
* lockinit() no longer takes a prio argument. * lockmgr() no longer takes a thread pointer argument.
Submitted-by: Bill Marquette <bill.marquette@gmail.com>
|
#
8f1a379e |
| 23-Apr-2006 |
Sascha Wildner <swildner@dragonflybsd.org> |
Adjust manual pages to recent lock related changes.
|
#
dd86bdf4 |
| 22-Dec-2004 |
Hiten Pandya <hmp@dragonflybsd.org> |
Document lockcountnb(9) which is the non-blocking counterpart of lockcount(9). Add it to the MLINKs as well.
Correct header name, it is sys/lock.h and not sys/lockmgr.h.
|
#
98582d94 |
| 10-May-2004 |
Hiten Pandya <hmp@dragonflybsd.org> |
Correct mdoc(7).
* use .Po/.Pc for parenthesis which extend more than a line
* .In is not a callable macro from anything other than SYNOPSIS, use .Pa (pathname) macro instead
|
#
9b8d2ca1 |
| 18-Mar-2004 |
Eirik Nygaard <eirikn@dragonflybsd.org> |
Add lock.9 man page, it is also symlinked to: lockcount.9, lockinit.9, lockmgr.9, lockmgr_printinfo.9 and lockstatus.9.
Obtained from: FreeBSD
|
#
df59f81f |
| 26-Jul-2010 |
Sascha Wildner <saw@online.de> |
lock.9: Mention lockuninit().
|
#
deff95cb |
| 10-Apr-2010 |
Sascha Wildner <saw@online.de> |
In man9 manual pages, add some references to where the code is.
Submitted-by: Venkatesh Srinivas <me@endeavour.zapto.org>
|