1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys
Xin LI a11bf9a49b INVARIANTS: treat LA_LOCKED as the same of LA_XLOCKED in mtx_assert.
The Linux lockdep API assumes LA_LOCKED semantic in lockdep_assert_held(),
meaning that either a shared lock or write lock is Ok.  On the other hand,
the timeout code uses lc_assert() with LA_XLOCKED, and we need both to
work.

For mutexes, because they can not be shared (this is unique among all lock
classes, and it is unlikely that we would add new lock class anytime soon),
it is easier to simply extend mtx_assert to handle LA_LOCKED there, despite
the change itself can be viewed as a slight abstraction violation.

Reviewed by:	mjg, cem, jhb
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D21362
2019-08-23 06:39:40 +00:00
..
amd64 gdb(4):amd64: Bump MI GDB_BUFSZ for more efficient transfers 2019-08-22 00:35:17 +00:00
arm ti: sdhci: Correct voltage caps 2019-08-19 14:33:22 +00:00
arm64 Improve rk_pinctrl driver: 2019-08-18 09:19:33 +00:00
bsm
cam Make camcontrol modepage support block descriptors. 2019-08-07 14:45:10 +00:00
cddl Use an atomic reference count for paging in progress so that callers do not 2019-08-19 23:09:38 +00:00
compat Change locking requirements for VOP_UNSET_TEXT(). 2019-08-18 20:24:52 +00:00
conf Create a AHCI attachment for nvme. 2019-08-21 22:18:01 +00:00
contrib Specifying array sizes for fully initialized tables at compile time is 2019-08-22 03:33:10 +00:00
crypto Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
ddb Cache kernel stacks in UMA. This gives us NUMA support, better concurrency, 2019-08-06 23:15:34 +00:00
dev When we have errors resetting the device before we allocate the 2019-08-22 21:56:11 +00:00
dts dtso: allwinner: Add an overlay for H3 i2c0 2019-07-20 17:42:46 +00:00
fs msdosfs_fat: reduce diffs with NetBSD and makefs 2019-08-22 16:06:52 +00:00
gdb Fix i386 build after r351368 2019-08-22 04:31:07 +00:00
geom geom_uzip(4), mkuzip(8): Add Zstd image mode 2019-08-13 23:32:56 +00:00
gnu arm: dts: am33xx: Fix the region for uart0 2019-08-07 13:11:53 +00:00
i386 i386: Implement atomic_load_64(9) and atomic_store_64(9). 2019-08-18 15:58:44 +00:00
isa
kern INVARIANTS: treat LA_LOCKED as the same of LA_XLOCKED in mtx_assert. 2019-08-23 06:39:40 +00:00
kgssapi
libkern libkern: Implement strchrnul(3) 2019-08-19 22:53:05 +00:00
mips mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUM 2019-08-22 21:43:21 +00:00
modules Create a AHCI attachment for nvme. 2019-08-21 22:18:01 +00:00
net tuntap: belatedly add MODULE_VERSION for if_tun and if_tap 2019-08-19 19:01:59 +00:00
net80211
netgraph Use MTX_NEW instead of bzero(). 2019-08-21 08:15:30 +00:00
netinet Fix an issue when TSO and Rack play together. Basically 2019-08-21 10:45:28 +00:00
netinet6 frag6: move public structure into file local space. 2019-08-08 10:59:54 +00:00
netipsec Add missing new line in several log messages. 2019-08-09 08:58:09 +00:00
netpfil Fix rule truncation on external action module unloading. 2019-08-15 13:44:33 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed OFED: Fix accidental double-copy of rdma_sdp.h in r351176 2019-08-18 04:19:41 +00:00
opencrypto Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
powerpc powerpc: Link Book-E kernels at the same address as AIM kernels 2019-08-20 01:26:02 +00:00
riscv Move phys_avail definition into MI code. It is consumed in the MI layer and 2019-08-16 00:45:14 +00:00
rpc Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
security Fix mac_veriexec_parser build after r347938 2019-08-08 16:51:49 +00:00
sparc64 Move phys_avail definition into MI code. It is consumed in the MI layer and 2019-08-16 00:45:14 +00:00
sys Add lockmgr(9) probes to the lockstat DTrace provider. 2019-08-21 23:43:58 +00:00
teken
tests
tools
ufs Clarify comment that describes how the FS_METACKHASH is managed. 2019-08-13 20:56:44 +00:00
vm Simplify vm_page_dequeue() and fix an assertion. 2019-08-21 16:11:12 +00:00
x86 Move phys_avail definition into MI code. It is consumed in the MI layer and 2019-08-16 00:45:14 +00:00
xdr
xen
Makefile