Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2013 00:42:10 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Mark Johnston <markj@FreeBSD.org>, Mike Ma <mikemandarine@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r260091 - in head/sys/cddl: contrib/opensolaris/uts/common/dtrace contrib/opensolaris/uts/common/sys dev/dtrace
Message-ID:  <20131230204210.GD71033@FreeBSD.org>
In-Reply-To: <201312301737.rBUHbW3I035088@svn.freebsd.org>
References:  <201312301737.rBUHbW3I035088@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 30, 2013 at 05:37:32PM +0000, Mark Johnston wrote:
M> Author: markj
M> Date: Mon Dec 30 17:37:32 2013
M> New Revision: 260091
M> URL: http://svnweb.freebsd.org/changeset/base/260091
M> 
M> Log:
M>   Now that vmem(9) is available, use vmem arenas to allocate probe and
M>   aggregation IDs, as is done in the upstream illumos code. This still
M>   requires some FreeBSD-specific code, as our vmem API is not identical to the
M>   one in illumos.
M>   
M>   Submitted by:	Mike Ma <mikemandarine@gmail.com>

IMHO, alloc_unr() was lighter and thus better for allocating just IDs.

-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131230204210.GD71033>