aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_lock.c
Commit message (Expand)AuthorAgeFilesLines
* vfs: locking primitives which elide ->v_vnlock and shared locking disablementMateusz Guzik2019-12-111-0/+82
* lockmgr: remove more remnants of adaptive spinningMateusz Guzik2019-12-011-7/+1
* Add lockmgr(9) probes to the lockstat DTrace provider.Mark Johnston2019-08-211-8/+43
* Add flag LK_NEW for lockinit() that is converted to LO_NEW and passedGleb Smirnoff2019-01-151-0/+2
* Annotate Giant drop/pickup macros with __predict_falseMateusz Guzik2018-12-071-2/+2
* lockmgr: tidy up slock/sunlock similar to other locksMateusz Guzik2018-07-131-29/+22
* remove unused locked variable in lockmgr_unlock_fast_pathMatt Macy2018-05-191-4/+0
* lockmgr: avoid atomic on unlock in the slow pathMateusz Guzik2018-05-181-4/+6
* lockmgr: Add missed neutering during panicConrad Meyer2018-04-241-5/+9
* At this point iwmesg isn't initialized yet, so print pointer to lockGleb Smirnoff2018-03-201-2/+2
* lockmgr: save on sleepq when cmpset failsMateusz Guzik2018-03-051-14/+20
* lockmgr: whack unused lockmgr_note_exclusive_upgradeMateusz Guzik2018-03-041-12/+0
* lockmgr: start decomposing the main routineMateusz Guzik2018-03-041-396/+542
* 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