index
:
wireguard-openbsd
jd/histogram
jd/queueboosts
jd/simplify-queueing
master
WireGuard implementation for the OpenBSD kernel
Matt Dunwoodie
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
sys
/
kern
/
kern_rwlock.c
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
Simplify sleep_setup API to two operations in preparation for splitting
mpi
2021-02-08
1
-6
/
+4
*
New rw_obj_init() API providing reference-counted rwlock.
mpi
2021-01-11
1
-1
/
+122
*
Fix use of WITNESS_UNLOCK() in rw_exit_read() and rw_exit_write().
visa
2020-03-02
1
-14
/
+23
*
Move kernel locking inside the sleep machinery. This enables calling
visa
2019-11-30
1
-4
/
+7
*
Use RW_PROC() consistently.
mpi
2019-11-29
1
-7
/
+5
*
Provide exact lock assertions for rwlocks when witness(4) is enabled.
visa
2019-11-16
1
-1
/
+17
*
Only check if the current thread has the lock in rw_assert_unlocked(9).
mpi
2019-11-12
1
-2
/
+2
*
Make rrw_init/rrw_init_flags take a const name argument matching
jsg
2019-07-16
1
-2
/
+2
*
make rw-lock adaptive
sashan
2019-05-11
1
-1
/
+29
*
Remove file name and line number output from witness(4)
visa
2019-04-23
1
-30
/
+27
*
Constipate all the struct lock_type's so they go into .rodata
guenther
2018-06-08
1
-4
/
+4
*
Add RW_DUPOK for suppressing witness checks for specific rw_enter() calls
guenther
2018-06-04
1
-1
/
+3
*
Disable the rw lock assertion after panic. Allows reboot from ddb.
bluhm
2018-03-21
1
-1
/
+13
*
Do not panic from ddb(4) when a lock requirement isn't fulfilled.
mpi
2018-03-20
1
-5
/
+5
*
Make rw_exit() always succeed after a panic.
mpi
2017-12-18
1
-1
/
+5
*
Use membar_enter_after_atomic(9) amd membar_exit_before_atomic(9).
mpi
2017-10-24
1
-7
/
+7
*
Use a temporary variable in rw_status() to dereference only once the
mpi
2017-10-12
1
-4
/
+6
*
Add rw_assert_anylock(), for assering you have it either read or write locked
guenther
2017-08-12
1
-1
/
+12
*
Make rw_enter() always succeed after a panic.
mpi
2017-08-10
1
-1
/
+5
*
Hook up rwlock(9) to witness(4).
visa
2017-04-20
1
-22
/
+78
*
add sys/atomic.h back for membar_* needed for at least armv7
jsg
2015-03-14
1
-1
/
+2
*
Remove some includes include-what-you-use claims don't
jsg
2015-03-14
1
-2
/
+1
*
make the rwlock implementation MI.
dlg
2015-02-11
1
-15
/
+15
*
remove #ifndef handling of __HAVE_MD_RWLOCK. it's never set, and with a
dlg
2015-02-10
1
-7
/
+1
*
Add explicit membars, so that we can stop requiring rw_cas() to
guenther
2014-09-01
1
-1
/
+10
*
Teach rw_status() and rrw_status() to return LK_EXCLOTHER if it's write
guenther
2014-07-09
1
-3
/
+7
*
bzero -> memset
tedu
2014-01-21
1
-2
/
+2
*
restore original gangster lockstatus return values for compat
tedu
2013-05-06
1
-2
/
+6
*
a few tweaks noticed by jsing
tedu
2013-05-01
1
-3
/
+1
*
exorcise lockmgr. the api remains, but is now backed by recursive rwlocks.
tedu
2013-05-01
1
-21
/
+75
*
Replace expanded version of RW_PROC() with the macro.
weingart
2011-07-05
1
-2
/
+2
*
Add stricter asserts to DIAGNOSTIC kernels to help catch mutex and
matthew
2010-09-24
1
-1
/
+12
*
Remove unrelated bit from last commit which breaks at least 2 arches.
blambert
2009-08-13
1
-8
/
+1
*
rwlock assertion functions, currently unused
blambert
2009-08-13
1
-1
/
+32
*
print lock name in some panic messages so we know what's up
tedu
2007-05-13
1
-4
/
+7
*
Kill a dead variable.
art
2007-05-04
1
-6
/
+2
*
- Rename rw_test_and_set to rw_cas, since most litterature uses the
art
2007-05-04
1
-12
/
+27
*
Implement RW_DOWNGRADE that downgrades an exclusive lock to a shared lock
art
2007-04-04
1
-7
/
+31
*
s/completly/completely/
mk
2006-11-30
1
-2
/
+2
*
remove upgrade/downgrade, they are useless.
tedu
2006-06-02
1
-73
/
+33
*
add a name to rwlock so that we can tell where procs are getting stuck
tedu
2006-05-07
1
-3
/
+4
*
much -> must
pedro
2006-04-20
1
-2
/
+3
*
oring in PCATCH doesn't help if we don't pass the right prio to tsleep
tedu
2006-01-06
1
-2
/
+2
*
check in of "rwlock.20051230" from art.
tedu
2006-01-06
1
-115
/
+145
*
I was wrong. The assymetry created by the proc argument to rw_enter_write
art
2004-07-21
1
-3
/
+5
*
don't leave test code enabled, spotted Dries Schellekens
tedu
2003-11-18
1
-3
/
+1
*
add lightwight reader/writer locks from art@. we will be using these
tedu
2003-11-18
1
-0
/
+220