From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 11 15:30:53 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78867106566B for ; Wed, 11 Feb 2009 15:30:53 +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 331008FC0A for ; Wed, 11 Feb 2009 15:30:53 +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 n1BF15hR054323; Wed, 11 Feb 2009 09:01:05 -0600 (CST) (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 n1BF15k9054322; Wed, 11 Feb 2009 09:01:05 -0600 (CST) (envelope-from brooks) Date: Wed, 11 Feb 2009 09:01:04 -0600 From: Brooks Davis To: Hans Petter Selasky Message-ID: <20090211150104.GA54097@lor.one-eyed-alien.net> References: <4992CA63.8080601@icyb.net.ua> <4992CE1A.6060106@icyb.net.ua> <200902111425.45981.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <200902111425.45981.hselasky@c2i.net> 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]); Wed, 11 Feb 2009 09:01:06 -0600 (CST) Cc: freebsd-hackers@freebsd.org, Andriy Gapon Subject: Re: generalizing fd allocation code to id allocation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 15:30:53 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 11, 2009 at 02:25:45PM +0100, Hans Petter Selasky wrote: > On Wednesday 11 February 2009, Andriy Gapon wrote: > > My nose has just been rubbed into alloc_unr(9) :) > > Thanks, Roman! >=20 > The only problem about alloc_unr() is that you cannot allocate multiple= =20 > contiguous units? You might want rman for that. The thing I would like to see alloc_urn() grow is that ability to request a particular value so we could use it in the ifnet cloning code. -- Brooks --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFJkugwXY6L6fI4GtQRAvsoAKC9lhlFpjmblOSlfpiAEeH1jdfRjwCgregf WoaI41iNE/tAPwElDxP5OtE= =BChb -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--