index
:
src
main
releng/1
releng/10.0
releng/10.1
releng/10.2
releng/10.3
releng/10.4
releng/11.0
releng/11.1
releng/11.2
releng/11.3
releng/11.4
releng/12.0
releng/12.1
releng/12.2
releng/12.3
releng/12.4
releng/13.0
releng/13.1
releng/13.2
releng/13.3
releng/13.4
releng/14.0
releng/14.1
releng/2.0
releng/2.0.5
releng/4.10
releng/4.11
releng/4.3
releng/4.4
releng/4.5
releng/4.6
releng/4.7
releng/4.8
releng/4.9
releng/5.0
releng/5.1
releng/5.2
releng/5.3
releng/5.4
releng/5.5
releng/6.0
releng/6.1
releng/6.2
releng/6.3
releng/6.4
releng/7.0
releng/7.1
releng/7.2
releng/7.3
releng/7.4
releng/8.0
releng/8.1
releng/8.2
releng/8.3
releng/8.4
releng/9.0
releng/9.1
releng/9.2
releng/9.3
stable/10
stable/11
stable/12
stable/13
stable/14
stable/2.1
stable/2.2
stable/3
stable/4
stable/5
stable/6
stable/7
stable/8
stable/9
vendor/CSRG
vendor/Juniper/libxo
vendor/Linux/ath-common
vendor/Linux/ath10k
vendor/Linux/ath11k
vendor/Linux/ath12k
vendor/Linux/iwlwifi
vendor/Linux/mt76
vendor/Linux/rtw88
vendor/Linux/rtw89
vendor/NetBSD/blacklist
vendor/NetBSD/bmake
vendor/NetBSD/libc-pwcache
vendor/NetBSD/libc-vis
vendor/NetBSD/libedit
vendor/NetBSD/libexecinfo
vendor/NetBSD/lukemftp
vendor/NetBSD/lukemftpd
vendor/NetBSD/misc
vendor/NetBSD/mknod
vendor/NetBSD/mtree
vendor/NetBSD/softfloat
vendor/NetBSD/sort
vendor/NetBSD/tests
vendor/NetBSD/unvis
vendor/NetBSD/vis
vendor/NetBSD/xlint
vendor/OpenBSD
vendor/SGI
vendor/acpica
vendor/alpine-hal
vendor/alsa
vendor/altq
vendor/amd
vendor/apr
vendor/apr-util
vendor/arm-optimized-routines
vendor/atf
vendor/ath
vendor/bc
vendor/bearssl
vendor/bind
vendor/bind4
vendor/bind9
vendor/bind9-9.3
vendor/bind9-9.4
vendor/bind9-9.6
vendor/bind9-9.8
vendor/binutils
vendor/bionic-x86_64-string
vendor/blocklist
vendor/bsddialog
vendor/bsnmp
vendor/byacc
vendor/bzip2
vendor/ck
vendor/clang
vendor/clang-60
vendor/clang-70
vendor/clang-80
vendor/clang-90
vendor/com_err
vendor/compiler-rt
vendor/compiler-rt-60
vendor/compiler-rt-70
vendor/compiler-rt-80
vendor/compiler-rt-90
vendor/cortex-strings
vendor/csup
vendor/ctfdump
vendor/device-tree
vendor/dhcpcd
vendor/dialog
vendor/dma
vendor/dtc
vendor/dtracetoolkit
vendor/edk2
vendor/ee
vendor/elftoolchain
vendor/ena-com
vendor/expat
vendor/ext2fs
vendor/ficl
vendor/file
vendor/flex
vendor/gcc
vendor/gdb
vendor/gdtoa
vendor/global
vendor/google/capsicum-test
vendor/google/googletest
vendor/got/diff
vendor/gperf
vendor/groff
vendor/heimdal
vendor/heirloom-doctools
vendor/hostapd
vendor/hyperv
vendor/illumos
vendor/ipfilter
vendor/ipfilter-sys
vendor/ipfilter-sys-old
vendor/isc-dhcp
vendor/kerberosIV
vendor/krb5
vendor/kyua
vendor/ldns
vendor/ldns-host
vendor/less
vendor/lib9p
vendor/libarchive
vendor/libbegemot
vendor/libc++
vendor/libc++-60
vendor/libc++-70
vendor/libc++-80
vendor/libc++-90
vendor/libcbor
vendor/libcxxrt
vendor/libdes
vendor/libdivsufsort
vendor/libevent
vendor/libfdt
vendor/libfido2
vendor/libgmp
vendor/libpam
vendor/libpcap
vendor/libreadline
vendor/libregex
vendor/libucl
vendor/libuwx
vendor/libyaml
vendor/lld
vendor/lld-60
vendor/lld-70
vendor/lld-80
vendor/lld-90
vendor/lldb
vendor/lldb-60
vendor/lldb-70
vendor/lldb-80
vendor/lldb-90
vendor/llvm
vendor/llvm-60
vendor/llvm-70
vendor/llvm-80
vendor/llvm-90
vendor/llvm-libunwind
vendor/llvm-libunwind-80
vendor/llvm-libunwind-90
vendor/llvm-openmp
vendor/llvm-openmp-80
vendor/llvm-openmp-90
vendor/llvm-project/main
vendor/llvm-project/master
vendor/llvm-project/release-10.x
vendor/llvm-project/release-11.x
vendor/llvm-project/release-12.x
vendor/llvm-project/release-13.x
vendor/llvm-project/release-14.x
vendor/llvm-project/release-15.x
vendor/llvm-project/release-16.x
vendor/llvm-project/release-17.x
vendor/llvm-project/release-18.x
vendor/llvm-project/release-19.x
vendor/llvm-project/release-8.x
vendor/llvm-project/release-9.x
vendor/lomac
vendor/lua
vendor/lutok
vendor/mandoc
vendor/misc-GNU/awk
vendor/misc-GNU/bc
vendor/misc-GNU/bison
vendor/misc-GNU/cpio
vendor/misc-GNU/cvs
vendor/misc-GNU/diff
vendor/misc-GNU/grep
vendor/misc-GNU/misc
vendor/misc-GNU/patch
vendor/misc-GNU/sort
vendor/misc-GNU/texinfo
vendor/mrouted
vendor/ncftp
vendor/ncurses
vendor/netcat
vendor/ngatm
vendor/ntp
vendor/ntpd
vendor/nve
vendor/nvi
vendor/octeon-sdk
vendor/one-true-awk
vendor/openbsm
vendor/opencsd
vendor/openpam
vendor/openresolv
vendor/opensolaris
vendor/openssh
vendor/openssl
vendor/openssl-0.9.8
vendor/openssl-1.0.1
vendor/openssl-1.0.2
vendor/openssl-1.1.1
vendor/openssl-3.0
vendor/openzfs/legacy
vendor/openzfs/master
vendor/openzfs/zfs-2.1-release
vendor/openzfs/zfs-2.2-release
vendor/opie
vendor/pam_modules
vendor/pcg-c
vendor/pciids
vendor/perl5
vendor/pf
vendor/pf-sys
vendor/pjdfstest
vendor/pnglite
vendor/pppd
vendor/qcamain_open_hal
vendor/rarpd
vendor/resolver
vendor/rpcgen
vendor/sendmail
vendor/serf
vendor/skein
vendor/smbfs
vendor/softdep
vendor/softupdates
vendor/spleen
vendor/sqlite3
vendor/ssleay
vendor/stallion
vendor/subversion
vendor/sym
vendor/tcl
vendor/tcp_wrappers
vendor/tcpdump
vendor/tcsh
vendor/terminus
vendor/testfloat
vendor/tnftp
vendor/top
vendor/traceroute
vendor/tre
vendor/tzcode
vendor/tzdata
vendor/tzdb
vendor/unbound
vendor/unifdef
vendor/v4l
vendor/voxware
vendor/wireguard-tools
vendor/wpa
vendor/wpa_supplicant
vendor/x86emu
vendor/xe
vendor/xz
vendor/xz-embedded
vendor/zlib
vendor/zstd
FreeBSD source tree
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sys
/
kern
/
kern_mutex.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
callout(9): Allow spin locks use with callout_init_mtx().
Alexander Motin
2021-09-03
1
-2
/
+6
*
Fix lockstat:::thread-spin dtrace probe with LOCK_PROFILING
Eric van Gyzen
2021-08-02
1
-0
/
+2
*
lockprof: pass lock type as an argument instead of reading the spin flag
Mateusz Guzik
2021-05-23
1
-9
/
+11
*
locks: push lock_delay_arg_init calls down
Mateusz Guzik
2020-11-24
1
-8
/
+8
*
mtx: add mtx_wait_unlocked
Mateusz Guzik
2020-08-04
1
-0
/
+29
*
locks: fix a long standing bug for primitives with kdtrace but without spinning
Mateusz Guzik
2020-07-23
1
-1
/
+1
*
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
Pawel Biernacki
2020-02-26
1
-2
/
+4
*
Add KERNEL_PANICKED macro for use in place of direct panicstr tests
Mateusz Guzik
2020-01-12
1
-2
/
+2
*
locks: add default delay struct
Mateusz Guzik
2020-01-05
1
-0
/
+8
*
locks: convert delay times to u_short
Mateusz Guzik
2020-01-05
1
-2
/
+2
*
mtx: eliminate recursion support from thread lock
Mateusz Guzik
2019-12-16
1
-22
/
+10
*
schedlock 1/4
Jeff Roberson
2019-12-15
1
-4
/
+17
*
INVARIANTS: treat LA_LOCKED as the same of LA_XLOCKED in mtx_assert.
Xin LI
2019-08-23
1
-0
/
+15
*
locks: plug warnings about unitialized variables
Mateusz Guzik
2018-11-13
1
-2
/
+2
*
Add a KPI for the delay while spinning on a spin lock.
John Baldwin
2018-11-05
1
-1
/
+1
*
Remove an unused argument to turnstile_unpend.
Mateusz Guzik
2018-06-02
1
-1
/
+1
*
Drop KTR_CONTENTION.
Mark Johnston
2018-03-20
1
-21
/
+0
*
locks: slightly depessimize lockstat
Mateusz Guzik
2018-03-17
1
-23
/
+39
*
mtx: tidy up recursion handling in thread lock
Mateusz Guzik
2018-03-04
1
-7
/
+10
*
mtx: add debug assertions to mtx_spin_wait_unlocked
Mateusz Guzik
2018-02-20
1
-0
/
+8
*
mtx: add mtx_spin_wait_unlocked
Mateusz Guzik
2018-02-19
1
-0
/
+17
*
mtx: use fcmpset to cover setting MTX_CONTESTED
Mateusz Guzik
2018-01-12
1
-4
/
+3
*
mtx: deduplicate indefinite wait check in spinlocks and thread lock
Mateusz Guzik
2017-12-31
1
-35
/
+31
*
mtx: pre-read the lock value in thread_lock_flags_
Mateusz Guzik
2017-12-31
1
-7
/
+9
*
sys/kern: adoption of SPDX licensing ID tags.
Pedro F. Giffuni
2017-11-27
1
-0
/
+2
*
Add the missing lockstat check for thread lock.
Mateusz Guzik
2017-11-25
1
-0
/
+7
*
locks: pass the found lock value to unlock slow path
Mateusz Guzik
2017-11-22
1
-6
/
+9
*
locks: remove the file + line argument from internal primitives when not used
Mateusz Guzik
2017-11-22
1
-4
/
+10
*
locks: fix compilation issues without SMP or KDTRACE_HOOKS
Mateusz Guzik
2017-11-17
1
-2
/
+3
*
mtx: add missing parts of the diff in r325920
Mateusz Guzik
2017-11-17
1
-2
/
+2
*
mtx: unlock before traversing threads to wake up
Mateusz Guzik
2017-11-17
1
-4
/
+5
*
mtx: implement thread lock fastpath
Mateusz Guzik
2017-10-21
1
-11
/
+61
*
mtx: fix up UP build after r324778
Mateusz Guzik
2017-10-20
1
-0
/
+6
*
mtx: stop testing SCHEDULER_STOPPED in kabi funcs for spin mutexes
Mateusz Guzik
2017-10-20
1
-6
/
+0
*
mtx: clean up locking spin mutexes
Mateusz Guzik
2017-10-20
1
-7
/
+23
*
mtx: fix up owner_mtx after r324609
Mateusz Guzik
2017-10-14
1
-1
/
+1
*
mtx: drop the tid argument from _mtx_lock_sleep
Mateusz Guzik
2017-09-27
1
-7
/
+10
*
Annotate Giant with __exclusive_cache_line
Mateusz Guzik
2017-09-08
1
-1
/
+1
*
Sprinkle __read_frequently on few obvious places.
Mateusz Guzik
2017-09-06
1
-2
/
+2
*
Correct the predicates on which lockstat:::{thread,spin}-spin fire.
Mark Johnston
2017-07-31
1
-2
/
+2
*
Fix the !TD_IS_IDLETHREAD(curthread) locking assertions.
Mark Johnston
2017-06-19
1
-2
/
+3
*
mtx: fix whitespace damage in _mtx_trylock_flags_
Mateusz Guzik
2017-05-30
1
-4
/
+4
*
KDTRACE_HOOKS isn't guaranteed to be defined. Change to check to see
Warner Losh
2017-02-24
1
-3
/
+3
*
mtx: microoptimize lockstat handling in spin mutexes and thread lock
Mateusz Guzik
2017-02-23
1
-19
/
+44
*
mtx: fix spin mutexes interaction with failed fcmpset
Mateusz Guzik
2017-02-20
1
-0
/
+8
*
locks: make trylock routines check for 'unowned' value
Mateusz Guzik
2017-02-19
1
-6
/
+11
*
locks: clean up trylock primitives
Mateusz Guzik
2017-02-18
1
-10
/
+22
*
mtx: plug the 'opts' argument when not used
Mateusz Guzik
2017-02-18
1
-2
/
+6
*
mtx: get rid of file/line args from slow paths if they are unused
Mateusz Guzik
2017-02-17
1
-1
/
+1
*
mtx: restrict r313875 to kernels without LOCK_PROFILING
Mateusz Guzik
2017-02-17
1
-0
/
+14
[next]