svn commit: r208073 - stable/8/sys/sys
Fabien Thomas
fabient at FreeBSD.org
Fri May 14 13:48:12 UTC 2010
Author: fabient
Date: Fri May 14 13:48:11 2010
New Revision: 208073
URL: http://svn.freebsd.org/changeset/base/208073
Log:
MFC r207761 partially:
Add a fastpath to allocate from packet zone when using m_getjcl.
This will add support for packet zone for at least igb and ixgbe.
Modified:
stable/8/sys/sys/mbuf.h
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/geom/sched/ (props changed)
Modified: stable/8/sys/sys/mbuf.h
==============================================================================
--- stable/8/sys/sys/mbuf.h Fri May 14 13:43:23 2010 (r208072)
+++ stable/8/sys/sys/mbuf.h Fri May 14 13:48:11 2010 (r208073)
@@ -523,6 +523,9 @@ m_getjcl(int how, short type, int flags,
struct mbuf *m, *n;
uma_zone_t zone;
+ if (size == MCLBYTES)
+ return m_getcl(how, type, flags);
+
args.flags = flags;
args.type = type;
More information about the svn-src-stable
mailing list