freebsd-skq/sys/fs/fuse
Mateusz Guzik abd80ddb94 vfs: introduce v_irflag and make v_type smaller
The current vnode layout is not smp-friendly by having frequently read data
avoidably sharing cachelines with very frequently modified fields. In
particular v_iflag inspected for VI_DOOMED can be found in the same line with
v_usecount. Instead make it available in the same cacheline as the v_op, v_data
and v_type which all get read all the time.

v_type is avoidably 4 bytes while the necessary data will easily fit in 1.
Shrinking it frees up 3 bytes, 2 of which get used here to introduce a new
flag field with a new value: VIRF_DOOMED.

Reviewed by:	kib, jeff
Differential Revision:	https://reviews.freebsd.org/D22715
2019-12-08 21:30:04 +00:00
..
fuse_device.c fusefs: don't leak memory of unsent operations on unmount 2019-06-28 18:48:02 +00:00
fuse_file.c fusefs: remove superfluous counter_u64_zero 2019-08-06 00:50:25 +00:00
fuse_file.h [skip ci] update copyright headers in fusefs files 2019-06-28 04:18:10 +00:00
fuse_internal.c Fix an off-by-one error from r351961 2019-09-16 16:41:01 +00:00
fuse_internal.h fusefs: fix the build after r350446 2019-07-31 21:48:35 +00:00
fuse_io.c vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
fuse_io.h [skip ci] update copyright headers in fusefs files 2019-06-28 04:18:10 +00:00
fuse_ipc.c fusefs: remove superfluous counter_u64_zero 2019-08-06 00:50:25 +00:00
fuse_ipc.h fusefs: add a intr/nointr mount option 2019-07-18 17:55:13 +00:00
fuse_kernel.h fusefs: raise protocol level to 7.23 2019-06-21 04:57:23 +00:00
fuse_main.c projects/fuse2: build fixes 2019-07-13 14:42:09 +00:00
fuse_node.c fusefs: remove superfluous counter_u64_zero 2019-08-06 00:50:25 +00:00
fuse_node.h fusefs: fix some minor issues with fuse_vnode_setparent 2019-09-16 14:51:49 +00:00
fuse_vfsops.c fusefs: add a intr/nointr mount option 2019-07-18 17:55:13 +00:00
fuse_vnops.c fusefs: fix some minor issues with fuse_vnode_setparent 2019-09-16 14:51:49 +00:00
fuse.h [skip ci] update copyright headers in fusefs files 2019-06-28 04:18:10 +00:00