mjg bcfa67ab8b 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
..
2019-10-21 17:59:53 +00:00
2019-10-21 18:00:17 +00:00
2019-10-21 18:06:06 +00:00
2019-10-21 18:06:09 +00:00
2019-05-24 06:07:33 +00:00
2018-07-07 15:55:52 +00:00
2019-02-25 21:59:01 +00:00
2019-10-21 18:06:15 +00:00
2019-10-21 18:06:19 +00:00
2019-10-21 18:06:23 +00:00
2019-10-21 18:06:26 +00:00
2019-10-21 18:10:52 +00:00
2019-10-21 18:06:31 +00:00
2019-12-04 16:56:11 +00:00
2019-10-21 18:11:02 +00:00
2019-10-21 18:11:08 +00:00
2019-10-21 18:11:15 +00:00
2019-10-21 18:11:19 +00:00
2019-10-21 18:11:28 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2019-10-21 18:11:32 +00:00
2019-10-07 22:40:05 +00:00
2019-12-04 16:56:11 +00:00
2019-10-21 18:06:53 +00:00
2019-10-21 18:06:57 +00:00
2019-10-21 18:07:02 +00:00
2019-11-18 20:53:57 +00:00
2019-12-04 16:56:11 +00:00
2019-10-21 18:11:43 +00:00
2019-10-21 18:07:07 +00:00
2019-10-21 18:07:11 +00:00
2019-10-21 18:11:54 +00:00
2019-10-21 18:07:15 +00:00
2019-12-04 16:56:11 +00:00
2018-08-21 10:08:12 +00:00
2019-12-04 16:56:11 +00:00
2019-05-23 12:51:13 +00:00
2019-10-21 18:07:19 +00:00
2019-10-14 20:18:36 +00:00
2019-10-21 18:11:58 +00:00
2019-10-31 21:01:34 +00:00
2019-10-21 18:07:24 +00:00
2019-10-21 18:07:28 +00:00
2019-10-21 18:12:07 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2019-03-11 14:26:45 +00:00
2019-12-04 16:56:11 +00:00
2019-10-21 18:12:12 +00:00
2019-10-21 18:07:32 +00:00
2019-10-21 18:07:35 +00:00
2019-10-21 18:12:31 +00:00
2019-12-04 16:56:11 +00:00
2019-06-08 16:26:56 +00:00
2019-10-21 18:07:40 +00:00
2019-10-21 18:07:44 +00:00
2019-10-21 18:07:49 +00:00
2019-12-04 16:56:11 +00:00
2019-10-21 18:07:53 +00:00
2019-10-21 18:07:56 +00:00
2019-02-04 21:28:25 +00:00
2019-10-21 18:08:03 +00:00
2019-04-16 02:46:21 +00:00
2019-10-21 18:12:36 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2019-10-21 18:08:12 +00:00
2019-11-15 01:07:39 +00:00
2019-10-21 18:08:16 +00:00
2019-10-17 16:38:44 +00:00
2019-10-21 18:08:20 +00:00
2019-12-04 16:56:11 +00:00
2019-08-30 00:40:08 +00:00
2019-10-21 18:08:25 +00:00
2019-02-26 19:55:03 +00:00