svn commit: r260091 - in head/sys/cddl: contrib/opensolaris/uts/common/dtrace contrib/opensolaris/uts/common/sys dev/dtrace

Gleb Smirnoff glebius at FreeBSD.org
Mon Dec 30 20:42:20 UTC 2013


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 at gmail.com>

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

-- 
Totus tuus, Glebius.


More information about the svn-src-head mailing list