aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_rwlock.c
Commit message (Expand)AuthorAgeFilesLines
* locks: run the extra NULL check only with INVARIANTSGleb Smirnoff2025-03-301-12/+4
* rwmlock/rwlock/sx: Print the pointer of destroyed locks in panic messagesJohn Baldwin2025-03-131-8/+10
* lockmgr/rmlock/rwlock/sx: Make various assertions more robustJohn Baldwin2025-03-131-12/+12
* fix build with LOCK_PROFILING but without KDTRACE_HOOKSKristof Provost2024-12-021-6/+4
* locks: Use %p to print uintptr_t valuesJohn Baldwin2024-11-141-4/+4
* locks: augment lock_class with lc_trylock methodGleb Smirnoff2024-10-241-0/+14
* locks: add a runtime check for missing turnstileMateusz Guzik2024-07-111-4/+12
* kern: move __always_inline to canonical positionRyan Libby2024-06-241-3/+3
* rwlock: add static qualifier to implementations previously declared staticGleb Smirnoff2024-06-201-5/+5
* SCHEDULER_STOPPED(): Rely on a global variableOlivier Certner2024-01-261-2/+2
* thread: add td_wantedlockMateusz Guzik2023-10-221-0/+6
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
* lockprof: pass lock type as an argument instead of reading the spin flagMateusz Guzik2021-05-231-4/+4
* locks: push lock_delay_arg_init calls downMateusz Guzik2020-11-241-5/+6
* locks: fix a long standing bug for primitives with kdtrace but without spinningMateusz Guzik2020-07-231-2/+2
* Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki2020-02-261-1/+2
* locks: add default delay structMateusz Guzik2020-01-051-0/+6
* locks: convert delay times to u_shortMateusz Guzik2020-01-051-6/+6
* Drop "All rights reserved" from my copyright statements.John Baldwin2019-03-061-1/+0
* locks: plug warnings about unitialized variablesMateusz Guzik2018-11-131-2/+2
* Make no assertions about lock state when the scheduler is stopped.Eric van Gyzen2018-11-131-1/+1
* Remove an unused argument to turnstile_unpend.Mateusz Guzik2018-06-021-3/+3
* rw: decrease writer starvationMateusz Guzik2018-05-221-60/+119
* fix uninitialized variable warning in reader locksMatt Macy2018-05-191-1/+1
* locks: extend speculative spin waiting for readers to drainMateusz Guzik2018-04-111-3/+11
* rw: whack avoidable re-reads in try_upgradeMateusz Guzik2018-04-101-8/+9
* locks: slightly depessimize lockstatMateusz Guzik2018-03-171-25/+36
* locks: fix a corner case in r327399Mateusz Guzik2018-03-041-12/+15
* Undo LOCK_PROFILING pessimisation after r313454 and r313455Mateusz Guzik2018-02-171-2/+7
* rwlock: diff-reduction of runlock compared to sx sunlockMateusz Guzik2018-02-141-14/+12
* rwlock: try regular read unlock even in the hard pathMateusz Guzik2018-01-131-2/+2
* locks: adjust loop limit check when waiting for readersMateusz Guzik2017-12-311-2/+2
* locks: re-check the reason to go to sleep after locking sleepq/turnstileMateusz Guzik2017-12-311-0/+6
* rwlock: tidy up __rw_runlock_hard similarly to r325921Mateusz Guzik2017-12-311-6/+6
* sys/kern: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* rw: fix runlock_hard when new readers show upMateusz Guzik2017-11-261-0/+5
* rwlock: fix up compilation of the previous changeMateusz Guzik2017-11-251-2/+2
* rwlock: add __rw_try_{r,w}lock_intMateusz Guzik2017-11-251-8/+20
* locks: retry turnstile/sleepq loops on failed cmpsetMateusz Guzik2017-11-251-23/+16
* rwlock: stop re-reading the owner when going to sleepMateusz Guzik2017-11-251-8/+11
* rwlock: unbreak WITNESS builds after r326110Mateusz Guzik2017-11-231-1/+1
* rwlock: don't check for curthread's read lock count in the fast pathMateusz Guzik2017-11-221-9/+17
* locks: pass the found lock value to unlock slow pathMateusz Guzik2017-11-221-3/+6
* locks: remove the file + line argument from internal primitives when not usedMateusz Guzik2017-11-221-38/+58
* Clean up the SYSINIT_FLAGS definitions for rwlock(9) and rmlock(9).Mark Johnston2017-11-211-9/+2
* rwlock: unlock before traversing threads to wake upMateusz Guzik2017-11-171-9/+11
* locks: pull up PMC_SOFT_CALLs out of slow path loopsMateusz Guzik2017-11-171-10/+13
* rwlock: avoid branches in the slow path if lockstat is disabledMateusz Guzik2017-11-171-5/+17
* rwlock: use fcmpset for setting RW_LOCK_WRITE_SPINNERMateusz Guzik2017-11-111-2/+1