aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_mutex.c
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Guard the lockstat:::thread-spin probe with KDTRACE_HOOKS.Mark Johnston2016-05-181-0/+2
* lockstat:::thread-spin should only fire after spinning for the lock.Mark Johnston2016-05-181-1/+2
* Don't modify curthread->td_locks unless INVARIANTS is enabled.Mark Johnston2015-08-021-4/+4
* Implement the lockstat provider using SDT(9) instead of the custom providerMark Johnston2015-07-191-10/+10
* Fix the !KDTRACE_HOOKS build.Mark Johnston2015-07-181-0/+2
* Pass the lock object to lockstat_nsecs() and return immediately ifMark Johnston2015-07-181-9/+10
* several lockstat improvementsAndriy Gapon2015-06-121-9/+25
* Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9).Dmitry Chagin2014-12-131-1/+3
* Disable recursion for the process spinlock.Konstantin Belousov2014-12-011-1/+1
* The process spin lock currently has the following distinct uses:Konstantin Belousov2014-11-261-0/+3
* opt_global.h is included automatically in the build. No need toWarner Losh2014-11-181-1/+0
* Add a new thread state "spinning" to schedgraph and add tracepoints at theJohn Baldwin2014-11-041-0/+11
* - For kernel compiled only with KDTRACE_HOOKS and not any lock debuggingAttilio Rao2013-11-251-3/+0
* Fix lc_lock/lc_unlock() support for rmlocks held in shared mode. WithDavide Italiano2013-09-201-8/+8
* Give mutex(9) the ability to recurse on a per-instance basis.Attilio Rao2013-08-091-6/+14
* Fix r253823. Some WIP patches snuck in.Scott Long2013-07-301-14/+6
* Create a knob, kern.ipc.sfreadahead, that allows one to tune the amount ofScott Long2013-07-301-6/+14
* A few mostly cosmetic nits to aid in debugging:John Baldwin2013-06-251-3/+3
* Fixup r240424: On entering KDB backends, the hijacked thread to runAttilio Rao2012-12-221-2/+2
* Give mtx(9) the ability to crunch different type of structures, with theAttilio Rao2012-10-311-17/+64
* Remove all the checks on curthread != NULL with the exception of some MDAttilio Rao2012-09-131-5/+0
* Improve check coverage about idle threads.Attilio Rao2012-09-121-0/+6
* Add software PMC support.Fabien Thomas2012-03-281-0/+15
* panic: add a switch and infrastructure for stopping other CPUs in SMP caseAndriy Gapon2011-12-111-0/+25
* Introduce macro stubs in the mutex implementation that will be alwaysAttilio Rao2011-11-201-2/+2
* Constify arguments for locking KPIs where possible.Pawel Jakub Dawidek2011-11-161-11/+12
* - Remove <machine/mutex.h>. Most of the headers were empty, and theJohn Baldwin2010-11-091-11/+11
* Right now, WITNESS just blindly pipes all the output to theAttilio Rao2010-05-111-1/+1
* - Fix a race in sched_switch() of sched_4bsd.Attilio Rao2010-01-231-2/+0