aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_lock.c
Commit message (Expand)AuthorAgeFilesLines
* sys/kern: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* lockmgr: remove the ADAPTIVE_LOCKMGRS optionMateusz Guzik2017-11-171-189/+0
* lockmgr: implement fast pathMateusz Guzik2017-02-121-61/+244
* Microoptimize locking primitives by avoiding unnecessary atomic ops.Mateusz Guzik2016-06-011-3/+9
* sys/kern: spelling fixes in comments.Pedro F. Giffuni2016-04-291-3/+3
* Don't modify curthread->td_locks unless INVARIANTS is enabled.Mark Johnston2015-08-021-5/+1
* Revert for r277213:Hans Petter Selasky2015-01-221-4/+2
* Major callout subsystem cleanup and rewrite:Hans Petter Selasky2015-01-151-2/+4
* Do not try to dereference thread pointer when the value is not a pointer.Konstantin Belousov2014-11-131-3/+8
* Add a new thread state "spinning" to schedgraph and add tracepoints at theJohn Baldwin2014-11-041-0/+20
* Followup to r273966. Fix the build with ADAPTIVE_LOCKMGRS kernel option.Konstantin Belousov2014-11-021-1/+1
* Fix two issues with lockmgr(9) LK_CAN_SHARE() test, which determinesKonstantin Belousov2014-11-021-6/+7
* Add function and wrapper to switch lockmgr and vnode lock back toKonstantin Belousov2014-08-291-0/+8
* - For kernel compiled only with KDTRACE_HOOKS and not any lock debuggingAttilio Rao2013-11-251-1/+0
* Add LK_TRYUPGRADE operation for lockmgr(9), which attempts toKonstantin Belousov2013-09-291-0/+13
* Fix lc_lock/lc_unlock() support for rmlocks held in shared mode. WithDavide Italiano2013-09-201-4/+4
* A few mostly cosmetic nits to aid in debugging:John Baldwin2013-06-251-3/+3
* - Fix a couple of inverted panic messages for shared/exclusive mismatchesJohn Baldwin2013-06-031-3/+5
* Add option WITNESS_NO_VNODE to suppress printing LORs between VNODEMarcel Moolenaar2013-05-091-0/+2
* lockmgr: unlock interlock (if requested) when dealing with upgrade/downgradeMateusz Guzik2013-01-061-0/+2
* Fixup r240424: On entering KDB backends, the hijacked thread to runAttilio Rao2012-12-221-1/+2
* Check for lockmgr recursion in case of disown and downgrade and panicAttilio Rao2012-12-051-2/+19
* Improve check coverage about idle threads.Attilio Rao2012-09-121-0/+3
* Add software PMC support.Fabien Thomas2012-03-281-0/+15
* Print out process name and thread id in the debugging message.Ivan Voras2012-03-051-2/+3
* panic: add a switch and infrastructure for stopping other CPUs in SMP caseAndriy Gapon2011-12-111-0/+3
* Constify arguments for locking KPIs where possible.Pawel Jakub Dawidek2011-11-161-14/+15
* Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.Ed Schouten2011-11-071-1/+2
* Fix the LK_NOSHARE lockmgr flag interaction with LK_UPGRADE andKonstantin Belousov2011-08-011-2/+12
* Add some FEATURE macros for various features (AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/Alexander Leidinger2011-02-251-0/+4
* Remove unneeded includes of <sys/linker_set.h>. Other headers that useJohn Baldwin2011-01-111-1/+0
* Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE andJohn Baldwin2010-08-201-0/+28
* Fix typos.Attilio Rao2010-01-071-6/+6
* Tweak comments.Attilio Rao2010-01-071-0/+18
* Exclusive waiters sleeping with LK_SLEEPFAIL on and using interruptibleAttilio Rao2010-01-071-3/+25
* In current code, threads performing an interruptible sleep (on bothAttilio Rao2009-12-121-13/+92
* Save the sack when doing a lockmgr_disown() call.Attilio Rao2009-11-061-0/+1
* When releasing a lockmgr held in shared way we need to use a write memoryAttilio Rao2009-10-031-3/+3
* Revert previous commit and add myself to the list of people who shouldPoul-Henning Kamp2009-09-081-1/+0
* Add necessary include.Poul-Henning Kamp2009-09-081-0/+1
* Fix some bugs related to adaptive spinning:Attilio Rao2009-09-021-2/+11
* * Change the scope of the ASSERT_ATOMIC_LOAD() from a generic check toAttilio Rao2009-08-171-0/+3
* Introduce support for adaptive spinning in lockmgr.Attilio Rao2009-06-171-18/+204
* Handle lock recursion differenty by always checking against LO_RECURSABLEAttilio Rao2009-06-021-5/+6
* Add the OpenSolaris dtrace lockstat provider. The lockstat providerStacey Son2009-05-261-1/+17
* Add missing 'break' statement.Edward Tomasz Napierala2009-05-121-0/+1
* - Wrap lock profiling state variables in #ifdef LOCK_PROFILING blocks.Jeff Roberson2009-03-151-4/+5
* - Call lock_profile_release when we're transitioning a lock to be owned byJeff Roberson2009-03-141-1/+3
* Tweak the output of VOP_PRINT/vn_printf() some.John Baldwin2009-02-061-3/+3
* Teach WITNESS about the interlocks used with lockmgr. This removes a bunchJohn Baldwin2008-09-101-3/+3