freebsd-dev/sys/dev/xen
Roger Pau Monné ee74891fc7 blkfront: add support for unmapped IO
Using unmapped IO is really beneficial when running inside of a VM,
since it avoids IPIs to other vCPUs in order to invalidate the
mappings.

This patch adds unmapped IO support to blkfront. The following tests
results have been obtained when running on a Xen host without HAP:

PVHVM
     3165.84 real      6354.17 user      4483.32 sys
PVHVM with unmapped IO
     2099.46 real      4624.52 user      2967.38 sys

This is because when running using shadow page tables TLB flushes and
range invalidations are much more expensive, so using unmapped IO
provides a very important performance boost.

Sponsored by:	Citrix Systems R&D
MFC after:	2 weeks
X-MFC-with:	r289834
2015-10-23 15:46:42 +00:00
..
balloon xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
blkback xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
blkfront blkfront: add support for unmapped IO 2015-10-23 15:46:42 +00:00
console xen/console: Introduce a new console driver for Xen guest 2015-10-08 16:39:43 +00:00
control xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
debug xen: add a handler for the debug interrupt 2015-03-30 07:09:07 +00:00
evtchn xen: import a proper event channel user-space device 2014-10-22 16:57:11 +00:00
grant_table xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
netback xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
netfront netfront: fix LINT-NOIP 2015-10-21 13:53:07 +00:00
pci Remove duplicate pci_driver class declaration. 2015-01-02 08:57:36 +00:00
pcifront Add domain support to PCI bus allocation 2015-09-16 23:34:51 +00:00
privcmd xen: introduce a newbus function to allocate unused memory 2015-05-08 14:48:40 +00:00
pvcpu xen: add missing files 2014-06-16 08:54:04 +00:00
timer Generalized parts of the XEN timer code into a generic pvclock 2015-02-04 08:26:43 +00:00
xenpci xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
xenstore xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00