1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-20 15:43:16 +00:00
freebsd/share
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
..
colldef
dict Remove ia64. 2014-07-07 00:27:09 +00:00
doc Integrate pjdfstest test suite execution into kyua 2014-11-03 07:18:42 +00:00
dtrace add my scripts to measure io latency per disk... 2014-08-09 20:40:03 +00:00
examples Honor MK_NETGRAPH for netgraph components 2014-11-27 00:10:16 +00:00
i18n
info
keys
man In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
me
misc Fix missing \n in committers-ports.dot while adding myself 2014-12-24 13:25:22 +00:00
mk Remove MK_INFO guards in bsd.info.mk per r276556 2015-01-02 22:55:30 +00:00
mklocale
monetdef
msgdef
numericdef
security
sendmail
skel Install skeleton files based on the values of MK_MAIL and MK_TCSH 2014-11-28 22:07:16 +00:00
snmp
syscons Fix minor problems found while converting to NEWCONS format. 2014-08-18 20:58:17 +00:00
tabset
termcap Fix building termcap.db when make obj is run beforehand from a clean tree by 2014-12-10 23:18:11 +00:00
tests
timedef
vt Add forgotten keymap files fr.kbd and fr.acc.kbd to the FILES list. 2014-09-12 06:23:57 +00:00
zoneinfo Avoid ./ in zoneinfo entries in METALOG 2014-09-03 18:51:33 +00:00
Makefile Add WITHOUT_AUTOFS and WITHOUT_BSDCONFIG 2014-11-27 09:42:40 +00:00
Makefile.inc