opnsense-src/sys/dev/xen
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
..
balloon xen: remove direct usage of HYPERVISOR_start_info 2018-07-19 07:54:45 +00:00
blkback vfs: introduce v_irflag and make v_type smaller 2019-12-08 21:30:04 +00:00
blkfront Implement support for online disk capacity changes. 2019-03-30 07:20:28 +00:00
console Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
control xen/ctrl: acknowledge all control requests 2019-10-01 08:21:41 +00:00
debug Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
evtchn xen/evtchn: fix LOR in evtchn device 2018-05-24 10:20:42 +00:00
gntdev (4/6) Protect page valid with the busy lock. 2019-10-15 03:45:41 +00:00
grant_table xen/grants: fix deadlocks in the free callbacks 2018-07-30 11:41:51 +00:00
netback Remove an unneeded include of opt_sctp.h. 2019-10-11 17:23:23 +00:00
netfront xen/netfront: Ensure curvnet is set 2018-08-23 16:52:52 +00:00
pci Associate device_t objects with ACPI handles via PCI_CHILD_ADDED(). 2016-04-07 17:15:16 +00:00
pcifront sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
privcmd (4/6) Protect page valid with the busy lock. 2019-10-15 03:45:41 +00:00
pvcpu xen: attach the PV CPU if no CPU device is present 2018-07-19 08:00:52 +00:00
timer Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
xenpci sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
xenstore xen: remove direct usage of HYPERVISOR_start_info 2018-07-19 07:54:45 +00:00