aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_lock.c
Commit message (Expand)AuthorAgeFilesLines
* lockprof: pass lock type as an argument instead of reading the spin flagMateusz Guzik2021-05-231-5/+5
* lockmgr: shrink struct lock by 8 bytes on LP64Mateusz Guzik2021-02-151-5/+13
* lockmgr: fix upgradeMateusz Guzik2021-01-191-2/+4
* locks: push lock_delay_arg_init calls downMateusz Guzik2020-11-241-1/+1
* kern: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-3/+0
* lockmgr: add missing 'continue' to account for spuriously failed fcmpsetMateusz Guzik2020-07-241-0/+1
* lockmgr: add adaptive spinningMateusz Guzik2020-07-221-18/+111
* lockmgr: denote recursion with a bit in lock valueMateusz Guzik2020-07-211-4/+6
* lockmgr: rewrite upgrade to stop always dropping the lockMateusz Guzik2020-07-211-36/+34
* lockmgr: add a helper for reading the lock valueMateusz Guzik2020-07-211-17/+17
* When running with a kernel compiled with DEBUG_LOCKS, beforeKirk McKusick2020-04-091-0/+1
* lockmgr: rename lock_fast_path to lock_flagsMateusz Guzik2020-02-141-2/+2
* lockmgr: retire the unused lockmgr_unlock_fast_path routineMateusz Guzik2020-02-141-40/+0
* lockmgr: don't touch the lock past unlockMateusz Guzik2020-01-241-14/+16
* Add KERNEL_PANICKED macro for use in place of direct panicstr testsMateusz Guzik2020-01-121-9/+9
* sleep(9), sleepqueue(9): const'ify wchan pointersConrad Meyer2019-12-241-1/+1
* 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