[HEADS-UP] mbuma is in the tree
Sam Leffler
sam at errno.com
Wed Jun 2 11:00:54 PDT 2004
On Wednesday 02 June 2004 02:49 am, Gleb Smirnoff wrote:
> Bosko,
>
> On Mon, May 31, 2004 at 02:51:01PM -0700, Bosko Milekic wrote:
> B> mbuma is an Mbuf & Cluster allocator built on top of a number of
> B> extensions to the UMA framework, all included herein.
>
> are you going to convert mbuf tag allocator to UMA? Now
> tags are allocated with malloc(). AFAIK, tags are used heavily in pf,
> and forthcoming ALTQ. Moving to UMA should affect their performance
> positively.
You probably meant you wanted to use a UMA zone. m_tag's can already be
allocated using this mechanism. I did it once for vlan tags but botched it
(didn't handle module references properly) so backed it. But there's no
reason someone cannot redo it or convert other heavily used fixed size tags
to use a zone.
Sam
More information about the freebsd-hackers
mailing list