freebsd-dev/sys/dev/xen
Robert Watson 2a8c860fe3 In order to reduce use of M_EXT outside of the mbuf allocator and
socket-buffer implementations, introduce a return value for MCLGET()
(and m_cljget() that underlies it) to allow the caller to avoid testing
M_EXT itself.  Update all callers to use the return value.

With this change, very few network device drivers remain aware of
M_EXT; the primary exceptions lie in mbuf-chain pretty printers for
debugging, and in a few cases, custom mbuf and cluster allocation
implementations.

NB: This is a difficult-to-test change as it touches many drivers for
which I don't have physical devices.  Instead we've gone for intensive
review, but further post-commit review would definitely be appreciated
to spot errors where changes could not easily be made mechanically,
but were largely mechanical in nature.

Differential Revision:	https://reviews.freebsd.org/D1440
Reviewed by:	adrian, bz, gnn
Sponsored by:	EMC / Isilon Storage Division
2015-01-06 12:59:37 +00:00
..
balloon xen/balloon: fix accounting of current memory pages on PVH 2014-09-30 17:38:21 +00:00
blkback xen: fix blkback pushing responses before releasing internal resources 2014-09-30 17:41:16 +00:00
blkfront Revert r269814: blkfront: add support for unmapped IO 2014-09-04 14:56:24 +00:00
console xen: Dom0 console fixes 2014-08-04 09:02:49 +00:00
control xen: unify gnttab initialization for PVHVM and PVH 2014-06-16 08:48:42 +00:00
evtchn xen: import a proper event channel user-space device 2014-10-22 16:57:11 +00:00
grant_table xen: convert the Grant-table code to a NewBus device 2014-12-10 11:35:41 +00:00
netback opt_global.h is included automatically in the build. No need to 2014-11-18 17:06:56 +00:00
netfront In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
pci Remove duplicate pci_driver class declaration. 2015-01-02 08:57:36 +00:00
pcifront More BUS_PROBE_NOWILDCARD sweeping. Some devices here (if_ath_ahb and siba) 2013-10-29 14:19:42 +00:00
privcmd xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
pvcpu xen: add missing files 2014-06-16 08:54:04 +00:00
timer xen: introduce xenpv bus 2014-06-16 08:44:33 +00:00
xenpci xen: unify gnttab initialization for PVHVM and PVH 2014-06-16 08:48:42 +00:00
xenstore xen: add xenstored user-space device 2014-09-30 17:37:26 +00:00