freebsd-dev/sys
Jason A. Harmening 706f15c5fa Remove witness directives from crossmp locking VOPs
These are of limited use since the crossmp vnode locking ops have not
actually used a lock since commit
a2d3554542.  We in fact require that
these operations are always issued with LK_SHARED.  Additionally,
these directives can produce a false positive in certain VV_CROSSLOCK
cases which require upgrading of the covered vnode lock from shared
to exclusive.

While here, replace the runtime check of LK_SHARED with a KASSERT and
expand the check to include LK_NOWAIT, which all callers pass.

Reviewed by:	kib
Tested by:	pho
Differential Revision:	https://reviews.freebsd.org/D35054
2022-10-26 19:33:18 -05:00
..
amd64 vmm: Fix AP startup with old userspace binaries. 2022-10-26 14:22:56 -07:00
arm intrng: Remove from NOTES file 2022-10-25 10:57:29 -06:00
arm64 intrng: Remove from NOTES file 2022-10-25 10:57:29 -06:00
bsm
cam cam: Use FreeBSD standard copyright 2022-10-07 23:37:46 -06:00
cddl kinst: Clarify a comment in the trampoline allocator 2022-10-14 11:32:47 -04:00
compat LinuxKPI: seq_file add "private" versions. 2022-10-24 21:39:48 +00:00
conf config.mk: All options in DEFAULTS are now defined in opt_global.h 2022-10-24 12:13:04 -06:00
contrib zfs: Fix a pair of bugs in zfs_fhtovp() 2022-10-24 12:05:17 -04:00
crypto
ddb
dev qlnxe(4): Fix a typo in a source code comment 2022-10-26 17:27:07 +02:00
dts
fs Add VV_CROSSLOCK vnode flag to avoid cross-mount lookup LOR 2022-10-26 19:33:03 -05:00
gdb
geom geom_part: Check number of GPT entries and size of GPT entry 2022-10-18 11:03:02 -04:00
gnu
i386 Add vm_page_any_valid() 2022-10-19 20:24:07 +03:00
isa
kern Remove witness directives from crossmp locking VOPs 2022-10-26 19:33:18 -05:00
kgssapi
libkern arm: Remove unused ffs.S 2022-10-20 10:48:31 -06:00
modules dpaa2: cleanup some include files 2022-10-24 21:24:32 +00:00
net netmap(4): Fix a typo in a source code comment 2022-10-25 14:56:25 +02:00
net80211 net8021: Fix a typo in a kernel error message 2022-10-25 04:31:51 +02:00
netgraph
netinet netinet*: add back necessary headers 2022-10-26 08:16:44 -07:00
netinet6 netinet*: add back necessary headers 2022-10-26 08:16:44 -07:00
netipsec tcp: remove INP_TIMEWAIT flag 2022-10-06 19:24:37 -07:00
netlink netlink: make it working without INET6 2022-10-04 14:39:49 -07:00
netpfil netpfil: Fix two typos in source code comments 2022-10-25 04:32:59 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto opencrypto: fix null esp crypt 2022-10-25 03:24:43 +03:00
powerpc
riscv intrng: Remove from NOTES file 2022-10-25 10:57:29 -06:00
rpc clnt_vc.c: Replace msleep() with pause() to avoid assert panic 2022-10-14 15:46:55 -07:00
security Bump MAC_VERSION to 5 2022-10-07 15:24:32 +00:00
sys Add VV_CROSSLOCK vnode flag to avoid cross-mount lookup LOR 2022-10-26 19:33:03 -05:00
teken
tests
tools Make #if and #endif do what people expect in *_if.m 2022-10-06 14:35:31 +01:00
ufs Increase the maximum size of the journaled soft-updates journal. 2022-10-21 11:00:00 -07:00
vm uma: Never pass cache zones to memguard 2022-10-19 14:36:36 -04:00
x86 x86/include/elf.h: make inclusion blocks for elf32.h and elf64.h similar 2022-10-25 19:00:44 +03:00
xdr
xen
Makefile