Date: Fri, 14 May 2010 13:48:12 +0000 (UTC) From: Fabien Thomas <fabient@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r208073 - stable/8/sys/sys Message-ID: <201005141348.o4EDmCek072660@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005141348.o4EDmCek072660>