freebsd-dev/sys/fs/cd9660
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
..
cd9660_bmap.c
cd9660_iconv.c sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
cd9660_lookup.c cd9660: replace bcopy/bzero with C standard equivalents 2018-07-31 12:36:46 +00:00
cd9660_mount.h
cd9660_node.c Rework v_object lifecycle for vnodes. 2019-08-29 07:50:25 +00:00
cd9660_node.h
cd9660_rrip.c cd9660: replace bcopy/bzero with C standard equivalents 2018-07-31 12:36:46 +00:00
cd9660_rrip.h cd9660 pointer sign issues and missing __packed attribute 2018-08-15 06:42:31 +00:00
cd9660_util.c
cd9660_vfsops.c cd9660: Remove redundant brelse() after r294954 2019-09-06 08:07:36 +00:00
cd9660_vnops.c vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
iso_rrip.h
iso.h cd9660 pointer sign issues and missing __packed attribute 2018-08-15 06:42:31 +00:00
TODO
TODO.hibler