From owner-p4-projects@FreeBSD.ORG Sat May 9 19:43:57 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0554A1065679; Sat, 9 May 2009 19:43:57 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B63951065672; Sat, 9 May 2009 19:43:56 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 70FBA8FC18; Sat, 9 May 2009 19:43:56 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id n49JFfJe087362; Sat, 9 May 2009 14:15:41 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id n49JFfYn087361; Sat, 9 May 2009 14:15:41 -0500 (CDT) (envelope-from brooks) Date: Sat, 9 May 2009 14:15:41 -0500 From: Brooks Davis To: Marko Zec Message-ID: <20090509191540.GA85588@lor.one-eyed-alien.net> References: <200905082144.n48LiKYP021818@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <200905082144.n48LiKYP021818@repoman.freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Sat, 09 May 2009 14:15:41 -0500 (CDT) Cc: Perforce Change Reviews Subject: Re: PERFORCE change 161793 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2009 19:43:58 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 08, 2009 at 09:44:20PM +0000, Marko Zec wrote: > http://perforce.freebsd.org/chv.cgi?CH=3D161793 >=20 > Change 161793 by zec@zec_tpx32 on 2009/05/08 21:43:51 >=20 > A controversial hack: when allocating if_unit numbers for > cloning ifnets, do NOT resort to bitmap mappings, but > iterate through all existing ifnets in a particular vnet > as long as a free unit number is found. > =09 > The problem here is that we are switchng from a O(n) to > a O(n**2) search method with more work being done in each > iteration. So this should be revisited RSN. IMO the best solution for now is to retain the global namespace and thus not worry about virtualizing this any more than we do for em0. This must not make it in to current since if it did, users with tunnel brokers would be very unhappy. -- Brooks --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFKBdZcXY6L6fI4GtQRAizkAJ4pulghZcsPrlPiNMfhCTF/RYS+KwCg4IL7 t5qAy6ouRY+8PURbcf9UjZE= =HTfW -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--