freebsd-skq/sys/fs
Mateusz Guzik c8b29d1212 vfs: locking primitives which elide ->v_vnlock and shared locking disablement
Both of these features are not needed by many consumers and result in avoidable
reads which in turn puts them on profiles due to cache-line ping ponging.

On top of that the current lockgmr entry point is slower than necessary
single-threaded. As an attempted clean up preparing for other changes,
provide new routines which don't support any of the aforementioned features.

With these patches in place vop_stdlock and vop_stdunlock disappear from
flamegraphs during -j 104 buildkernel.

Reviewed by:	jeff (previous version)
Tested by:	pho
Differential Revision:	https://reviews.freebsd.org/D22665
2019-12-11 23:11:21 +00:00
..
autofs vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
cd9660 vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
cuse Free all allocated unit IDs in cuse(3) after the client character 2019-06-25 11:46:01 +00:00
deadfs Switch to use shared vnode locks for text files during image activation. 2019-05-05 11:20:43 +00:00
devfs vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
ext2fs vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
fdescfs vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
fifofs fcntl: fix overflow when setting F_READAHEAD 2019-06-20 23:07:20 +00:00
fuse vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
msdosfs Plug the rest of undef behavior places that were missed in r337456. 2019-10-11 18:37:02 +00:00
nfs Fix kernel handling of a NFSERR_MINORVERSMISMATCH NFSv4 server reply. 2019-12-08 00:06:00 +00:00
nfsclient vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
nfsserver vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
nullfs vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
procfs Define macro VM_MAP_ENTRY_FOREACH for enumerating the entries in a vm_map. 2019-10-08 07:14:21 +00:00
pseudofs vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
smbfs vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
tmpfs vfs: locking primitives which elide ->v_vnlock and shared locking disablement 2019-12-11 23:11:21 +00:00
udf Rework v_object lifecycle for vnodes. 2019-08-29 07:50:25 +00:00
unionfs vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00