aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_mutex.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* locks: remove SCHEDULER_STOPPED checks from primitives for modulesMateusz Guzik2017-02-171-6/+0
* locks: tidy up unlock fallback pathsMateusz Guzik2017-02-091-7/+10
* locks: change backoff to exponentialMateusz Guzik2017-02-071-45/+9
* locks: fix recursion support after recent changesMateusz Guzik2017-02-061-0/+2
* mtx: fixup r313278, the assignemnt was supposed to go inside the loopMateusz Guzik2017-02-051-1/+1
* mtx: fix up _mtx_obtain_lock_fetch usage in thread lockMateusz Guzik2017-02-051-0/+1
* mtx: move lockstat handling out of inline primitivesMateusz Guzik2017-02-051-8/+12
* mtx: switch to fcmpsetMateusz Guzik2017-02-051-17/+15
* Sprinkle __read_mostly on backoff and lock profiling code.Mateusz Guzik2017-01-271-2/+2
* mtx: plug open-coded mtx_lock access missed in r311172Mateusz Guzik2017-01-041-1/+1
* Reduce lock accesses in thread lock similarly to r311172.Mateusz Guzik2017-01-031-6/+12
* mtx: reduce lock accessesMateusz Guzik2017-01-031-39/+50
* Use a consistent snapshot of the lock state in owner_mtx().Mark Johnston2016-12-101-3/+6
* Make no assertions about mutex state when the scheduler is stopped.Eric van Gyzen2016-09-261-1/+1
* locks: add backoff for spin mutexes and thread lockMateusz Guzik2016-09-091-13/+50
* locks: fix compilation for KDTRACE_HOOKS && !ADAPTIVE_* caseMateusz Guzik2016-08-021-1/+3
* Implement trivial backoff for locking primitives.Mateusz Guzik2016-08-011-9/+42
* locks: change sleep_cnt and spin_cnt types to u_intMateusz Guzik2016-07-311-2/+2
* Implement mtx_trylock_spin(9).Konstantin Belousov2016-07-231-0/+28
* Ensure that spinlock sections are balanced even after a panic.Mark Johnston2016-07-051-1/+8
* Microoptimize locking primitives by avoiding unnecessary atomic ops.Mateusz Guzik2016-06-011-4/+9
* Remove the MUTEX_DEBUG kernel option.Mark Johnston2016-05-181-36/+0