aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_rwlock.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* rwlock: fix up compilation without KDTRACE_HOOKS after r324787Mateusz Guzik2017-11-061-1/+1
* rwlock: reduce lockstat branches in the slowpathMateusz Guzik2017-10-201-2/+16
* locks: take the number of readers into account when waitingMateusz Guzik2017-10-051-6/+8
* locks: partially tidy up waiting on readersMateusz Guzik2017-10-051-5/+4
* Sprinkle __read_frequently on few obvious places.Mateusz Guzik2017-09-061-3/+3
* rwlock: perform the typically false td_rw_rlocks check laterMateusz Guzik2017-07-021-3/+2
* Fix the !TD_IS_IDLETHREAD(curthread) locking assertions.Mark Johnston2017-06-191-4/+5
* locks: ensure proper barriers are used with atomic ops when necessaryMateusz Guzik2017-03-011-1/+1
* locks: make trylock routines check for 'unowned' valueMateusz Guzik2017-02-191-3/+8
* locks: clean up trylock primitivesMateusz Guzik2017-02-181-12/+20
* locks: let primitives for modules unlock without always goging to the slsow pathMateusz Guzik2017-02-171-0/+4
* locks: remove SCHEDULER_STOPPED checks from primitives for modulesMateusz Guzik2017-02-171-6/+0
* rwlock: fix r313454Mateusz Guzik2017-02-091-1/+1