aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_mutex.c
Commit message (Expand)AuthorAgeFilesLines
* locks: run the extra NULL check only with INVARIANTSGleb Smirnoff2025-03-301-3/+1
* mtx: Include the mutex pointer in the panic message for destroyed locksJohn Baldwin2025-03-121-7/+9
* mtx: Make idle thread assertions more robustJohn Baldwin2025-03-121-4/+4
* mtx: Avoid nested panics on lock class mismatch assertionsJohn Baldwin2025-03-121-10/+10
* locks: Use %p to print uintptr_t valuesJohn Baldwin2024-11-141-1/+1
* locks: augment lock_class with lc_trylock methodGleb Smirnoff2024-10-241-0/+18
* locks: add a runtime check for missing turnstileMateusz Guzik2024-07-111-1/+3
* mutex: add static qualifier to implementations previously declared staticGleb Smirnoff2024-06-201-7/+7
* SCHEDULER_STOPPED(): Rely on a global variableOlivier Certner2024-01-261-2/+2
* thread: add td_wantedlockMateusz Guzik2023-10-221-0/+3
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* callout(9): Allow spin locks use with callout_init_mtx().Alexander Motin2021-09-031-2/+6
* Fix lockstat:::thread-spin dtrace probe with LOCK_PROFILINGEric van Gyzen2021-08-021-0/+2
* lockprof: pass lock type as an argument instead of reading the spin flagMateusz Guzik2021-05-231-9/+11
* locks: push lock_delay_arg_init calls downMateusz Guzik2020-11-241-8/+8
* mtx: add mtx_wait_unlockedMateusz Guzik2020-08-041-0/+29
* locks: fix a long standing bug for primitives with kdtrace but without spinningMateusz Guzik2020-07-231-1/+1
* Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki2020-02-261-2/+4
* Add KERNEL_PANICKED macro for use in place of direct panicstr testsMateusz Guzik2020-01-121-2/+2
* locks: add default delay structMateusz Guzik2020-01-051-0/+8
* locks: convert delay times to u_shortMateusz Guzik2020-01-051-2/+2
* mtx: eliminate recursion support from thread lockMateusz Guzik2019-12-161-22/+10
* schedlock 1/4Jeff Roberson2019-12-151-4/+17
* INVARIANTS: treat LA_LOCKED as the same of LA_XLOCKED in mtx_assert.Xin LI2019-08-231-0/+15
* locks: plug warnings about unitialized variablesMateusz Guzik2018-11-131-2/+2
* Add a KPI for the delay while spinning on a spin lock.John Baldwin2018-11-051-1/+1
* Remove an unused argument to turnstile_unpend.Mateusz Guzik2018-06-021-1/+1
* Drop KTR_CONTENTION.Mark Johnston2018-03-201-21/+0
* locks: slightly depessimize lockstatMateusz Guzik2018-03-171-23/+39
* mtx: tidy up recursion handling in thread lockMateusz Guzik2018-03-041-7/+10
* mtx: add debug assertions to mtx_spin_wait_unlockedMateusz Guzik2018-02-201-0/+8
* mtx: add mtx_spin_wait_unlockedMateusz Guzik2018-02-191-0/+17
* mtx: use fcmpset to cover setting MTX_CONTESTEDMateusz Guzik2018-01-121-4/+3
* mtx: deduplicate indefinite wait check in spinlocks and thread lockMateusz Guzik2017-12-311-35/+31
* mtx: pre-read the lock value in thread_lock_flags_Mateusz Guzik2017-12-311-7/+9
* 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