aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_mutex.c
Commit message (Expand)AuthorAgeFilesLines
* lockprof: pass lock type as an argument instead of reading the spin flagMateusz Guzik2021-05-231-9/+11
* locks: push lock_delay_arg_init calls downMateusz Guzik2020-11-241-8/+8
* mtx: add mtx_wait_unlockedMateusz Guzik2020-08-041-0/+29
* locks: fix a long standing bug for primitives with kdtrace but without spinningMateusz Guzik2020-07-231-1/+1
* Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki2020-02-261-2/+4
* Add KERNEL_PANICKED macro for use in place of direct panicstr testsMateusz Guzik2020-01-121-2/+2
* locks: add default delay structMateusz Guzik2020-01-051-0/+8
* locks: convert delay times to u_shortMateusz Guzik2020-01-051-2/+2
* mtx: eliminate recursion support from thread lockMateusz Guzik2019-12-161-22/+10
* schedlock 1/4Jeff Roberson2019-12-151-4/+17
* INVARIANTS: treat LA_LOCKED as the same of LA_XLOCKED in mtx_assert.Xin LI2019-08-231-0/+15
* locks: plug warnings about unitialized variablesMateusz Guzik2018-11-131-2/+2
* Add a KPI for the delay while spinning on a spin lock.John Baldwin2018-11-051-1/+1
* Remove an unused argument to turnstile_unpend.Mateusz Guzik2018-06-021-1/+1
* Drop KTR_CONTENTION.Mark Johnston2018-03-201-21/+0
* locks: slightly depessimize lockstatMateusz Guzik2018-03-171-23/+39
* mtx: tidy up recursion handling in thread lockMateusz Guzik2018-03-041-7/+10
* mtx: add debug assertions to mtx_spin_wait_unlockedMateusz Guzik2018-02-201-0/+8
* mtx: add mtx_spin_wait_unlockedMateusz Guzik2018-02-191-0/+17
* mtx: use fcmpset to cover setting MTX_CONTESTEDMateusz Guzik2018-01-121-4/+3
* mtx: deduplicate indefinite wait check in spinlocks and thread lockMateusz Guzik2017-12-311-35/+31
* mtx: pre-read the lock value in thread_lock_flags_Mateusz Guzik2017-12-311-7/+9
* sys/kern: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* Add the missing lockstat check for thread lock.Mateusz Guzik2017-11-251-0/+7
* locks: pass the found lock value to unlock slow pathMateusz Guzik2017-11-221-6/+9
* locks: remove the file + line argument from internal primitives when not usedMateusz Guzik2017-11-221-4/+10
* locks: fix compilation issues without SMP or KDTRACE_HOOKSMateusz Guzik2017-11-171-2/+3
* mtx: add missing parts of the diff in r325920Mateusz Guzik2017-11-171-2/+2
* mtx: unlock before traversing threads to wake upMateusz Guzik2017-11-171-4/+5
* mtx: implement thread lock fastpathMateusz Guzik2017-10-211-11/+61
* mtx: fix up UP build after r324778Mateusz Guzik2017-10-201-0/+6
* mtx: stop testing SCHEDULER_STOPPED in kabi funcs for spin mutexesMateusz Guzik2017-10-201-6/+0
* mtx: clean up locking spin mutexesMateusz Guzik2017-10-201-7/+23
* mtx: fix up owner_mtx after r324609Mateusz Guzik2017-10-141-1/+1
* mtx: drop the tid argument from _mtx_lock_sleepMateusz Guzik2017-09-271-7/+10
* Annotate Giant with __exclusive_cache_lineMateusz Guzik2017-09-081-1/+1
* Sprinkle __read_frequently on few obvious places.Mateusz Guzik2017-09-061-2/+2
* Correct the predicates on which lockstat:::{thread,spin}-spin fire.Mark Johnston2017-07-311-2/+2
* Fix the !TD_IS_IDLETHREAD(curthread) locking assertions.Mark Johnston2017-06-191-2/+3
* mtx: fix whitespace damage in _mtx_trylock_flags_Mateusz Guzik2017-05-301-4/+4
* KDTRACE_HOOKS isn't guaranteed to be defined. Change to check to seeWarner Losh2017-02-241-3/+3
* mtx: microoptimize lockstat handling in spin mutexes and thread lockMateusz Guzik2017-02-231-19/+44
* mtx: fix spin mutexes interaction with failed fcmpsetMateusz Guzik2017-02-201-0/+8
* locks: make trylock routines check for 'unowned' valueMateusz Guzik2017-02-191-6/+11
* locks: clean up trylock primitivesMateusz Guzik2017-02-181-10/+22
* mtx: plug the 'opts' argument when not usedMateusz Guzik2017-02-181-2/+6
* mtx: get rid of file/line args from slow paths if they are unusedMateusz Guzik2017-02-171-1/+1
* mtx: restrict r313875 to kernels without LOCK_PROFILINGMateusz Guzik2017-02-171-0/+14
* mtx: microoptimize lockstat handling in __mtx_lock_sleepMateusz Guzik2017-02-171-4/+9
* locks: let primitives for modules unlock without always goging to the slsow pathMateusz Guzik2017-02-171-0/+4