From owner-svn-src-all@FreeBSD.ORG Mon Dec 30 20:42:20 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26F9139C; Mon, 30 Dec 2013 20:42:20 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9C1A21E17; Mon, 30 Dec 2013 20:42:18 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id rBUKgAIF040076 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 31 Dec 2013 00:42:10 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id rBUKgA0I040075; Tue, 31 Dec 2013 00:42:10 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 31 Dec 2013 00:42:10 +0400 From: Gleb Smirnoff To: Mark Johnston , Mike Ma 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> References: <201312301737.rBUHbW3I035088@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201312301737.rBUHbW3I035088@svn.freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 20:42:20 -0000 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 IMHO, alloc_unr() was lighter and thus better for allocating just IDs. -- Totus tuus, Glebius.