index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sys
/
kern
/
kern_rwlock.c
Age
Commit message (
Expand
)
Author
2023-06-28
First step at removing struct sleep_state.
Claudio Jeker
2022-05-10
Our read/write lock implementation was not fair to writers. When
Alexander Bluhm
2021-02-08
Simplify sleep_setup API to two operations in preparation for splitting
Martin Pieuchot
2021-01-11
New rw_obj_init() API providing reference-counted rwlock.
Martin Pieuchot
2020-03-02
Fix use of WITNESS_UNLOCK() in rw_exit_read() and rw_exit_write().
Visa Hankala
2019-11-30
Move kernel locking inside the sleep machinery. This enables calling
Visa Hankala
2019-11-29
Use RW_PROC() consistently.
Martin Pieuchot
2019-11-16
Provide exact lock assertions for rwlocks when witness(4) is enabled.
Visa Hankala
2019-11-12
Only check if the current thread has the lock in rw_assert_unlocked(9).
Martin Pieuchot
2019-07-16
Make rrw_init/rrw_init_flags take a const name argument matching
Jonathan Gray
2019-05-11
make rw-lock adaptive
Alexandr Nedvedicky
2019-04-23
Remove file name and line number output from witness(4)
Visa Hankala
2018-06-08
Constipate all the struct lock_type's so they go into .rodata
Philip Guenther
2018-06-04
Add RW_DUPOK for suppressing witness checks for specific rw_enter() calls
Philip Guenther
2018-03-21
Disable the rw lock assertion after panic. Allows reboot from ddb.
Alexander Bluhm
2018-03-20
Do not panic from ddb(4) when a lock requirement isn't fulfilled.
Martin Pieuchot
2017-12-18
Make rw_exit() always succeed after a panic.
Martin Pieuchot
2017-10-24
Use membar_enter_after_atomic(9) amd membar_exit_before_atomic(9).
Martin Pieuchot
2017-10-12
Use a temporary variable in rw_status() to dereference only once the
Martin Pieuchot
2017-08-12
Add rw_assert_anylock(), for assering you have it either read or write locked
Philip Guenther
2017-08-10
Make rw_enter() always succeed after a panic.
Martin Pieuchot
2017-04-20
Hook up rwlock(9) to witness(4).
Visa Hankala
2015-03-14
add sys/atomic.h back for membar_* needed for at least armv7
Jonathan Gray
2015-03-14
Remove some includes include-what-you-use claims don't
Jonathan Gray
2015-02-11
make the rwlock implementation MI.
David Gwynne
2015-02-10
remove #ifndef handling of __HAVE_MD_RWLOCK. it's never set, and with a
David Gwynne
2014-09-01
Add explicit membars, so that we can stop requiring rw_cas() to
Philip Guenther
2014-07-09
Teach rw_status() and rrw_status() to return LK_EXCLOTHER if it's write
Philip Guenther
2014-01-21
bzero -> memset
Ted Unangst
2013-05-06
restore original gangster lockstatus return values for compat
Ted Unangst
2013-05-01
a few tweaks noticed by jsing
Ted Unangst
2013-05-01
exorcise lockmgr. the api remains, but is now backed by recursive rwlocks.
Ted Unangst
2011-07-05
Replace expanded version of RW_PROC() with the macro.
Tobias Weingartner
2010-09-24
Add stricter asserts to DIAGNOSTIC kernels to help catch mutex and
Matthew Dempsky
2009-08-13
Remove unrelated bit from last commit which breaks at least 2 arches.
Bret Lambert
2009-08-13
rwlock assertion functions, currently unused
Bret Lambert
2007-05-13
print lock name in some panic messages so we know what's up
Ted Unangst
2007-05-04
Kill a dead variable.
Artur Grabowski
2007-05-04
- Rename rw_test_and_set to rw_cas, since most litterature uses the
Artur Grabowski
2007-04-04
Implement RW_DOWNGRADE that downgrades an exclusive lock to a shared lock
Artur Grabowski
2006-11-30
s/completly/completely/
Michael Knudsen
2006-06-02
remove upgrade/downgrade, they are useless.
Ted Unangst
2006-05-07
add a name to rwlock so that we can tell where procs are getting stuck
Ted Unangst
2006-04-20
much -> must
Pedro Martelletto
2006-01-06
oring in PCATCH doesn't help if we don't pass the right prio to tsleep
Ted Unangst
2006-01-06
check in of "rwlock.20051230" from art.
Ted Unangst
2004-07-21
I was wrong. The assymetry created by the proc argument to rw_enter_write
Artur Grabowski
2003-11-18
don't leave test code enabled, spotted Dries Schellekens
Ted Unangst
2003-11-18
add lightwight reader/writer locks from art@. we will be using these
Ted Unangst