From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 21 21:16:02 2010 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 F06691065672; Mon, 21 Jun 2010 21:16:02 +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 A09028FC1B; Mon, 21 Jun 2010 21:16:02 +0000 (UTC) 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 o5LLEros086794; Mon, 21 Jun 2010 16:14:53 -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 o5LLEr5h086793; Mon, 21 Jun 2010 16:14:53 -0500 (CDT) (envelope-from brooks) Date: Mon, 21 Jun 2010 16:14:52 -0500 From: Brooks Davis To: Poul-Henning Kamp Message-ID: <20100621211452.GA83787@lor.one-eyed-alien.net> References: <201006211109.11653.jhb@freebsd.org> <92373.1277148310@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <92373.1277148310@critter.freebsd.dk> 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]); Mon, 21 Jun 2010 16:14:54 -0500 (CDT) Cc: freebsd-hackers@freebsd.org, Jaakko Heinonen Subject: Re: [patch] extending alloc_unr(9) to allocate specific unit numbers 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: Mon, 21 Jun 2010 21:16:03 -0000 --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 21, 2010 at 07:25:10PM +0000, Poul-Henning Kamp wrote: > In message <201006211109.11653.jhb@freebsd.org>, John Baldwin writes: > >On Saturday 19 June 2010 11:48:22 am Jaakko Heinonen wrote: >=20 > >> As an example here is md(4) converted to use > >> alloc_unr() / alloc_unr_specific(): > >>=20 > >> http://people.freebsd.org/~jh/patches/md-alloc_unr.diff > > > >This sounds useful to me. Perhaps ask phk@? >=20 > My only worry is that if people start to use this indiscriminantly to > store random collections of numbers, then it is far from the optimal > data structure for it. >=20 > Other than that: go for it. IIRC this is the one missing feature we need to convert if_clone to unr so I support it. -- Brooks --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFMH9ZMXY6L6fI4GtQRAll0AJ9LHnOj4/yWIzWwTAH9cwVJDBQgTACeMGEs AQmdGhCFHH+4KeQyz/GNy0U= =8lIf -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--