aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_rwlock.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* locks: tidy up unlock fallback pathsMateusz Guzik2017-02-091-10/+12
* rwlock: implemenet rlock/runlock fast pathMateusz Guzik2017-02-081-76/+129
* rwlock: implement RW_LOCK_WRITER_RECURSED bitMateusz Guzik2017-02-071-8/+13
* locks: change backoff to exponentialMateusz Guzik2017-02-071-21/+3
* locks: fix recursion support after recent changesMateusz Guzik2017-02-061-0/+2
* rwlock: move lockstat handling out of inline primitivesMateusz Guzik2017-02-051-7/+18
* rwlock: switch to fcmpsetMateusz Guzik2017-02-051-12/+7
* Sprinkle __read_mostly on backoff and lock profiling code.Mateusz Guzik2017-01-271-1/+1
* rwlock: reduce lock accesses similarly to r311172Mateusz Guzik2017-01-181-20/+44
* locks: fix compilation for KDTRACE_HOOKS && !ADAPTIVE_* caseMateusz Guzik2016-08-021-2/+6
* locks: fix up ifdef guards introduced in r303643Mateusz Guzik2016-08-021-4/+4
* Implement trivial backoff for locking primitives.Mateusz Guzik2016-08-011-29/+59
* locks: change sleep_cnt and spin_cnt types to u_intMateusz Guzik2016-07-311-4/+4
* rwlock: s/READER/WRITER/ in wlock lockstat annotationMateusz Guzik2016-07-301-1/+1
* Microoptimize locking primitives by avoiding unnecessary atomic ops.Mateusz Guzik2016-06-011-1/+3
* Don't modify curthread->td_locks unless INVARIANTS is enabled.Mark Johnston2015-08-021-6/+7
* Don't increment the spin count until after the first attempt to acquire aMark Johnston2015-07-191-3/+3
* Consistently use a reader/writer flag for lockstat probes in rwlock(9) andMark Johnston2015-07-191-9/+9