Date: Mon, 21 Jun 2010 16:14:52 -0500 From: Brooks Davis <brooks@freebsd.org> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: freebsd-hackers@freebsd.org, Jaakko Heinonen <jh@freebsd.org> Subject: Re: [patch] extending alloc_unr(9) to allocate specific unit numbers Message-ID: <20100621211452.GA83787@lor.one-eyed-alien.net> In-Reply-To: <92373.1277148310@critter.freebsd.dk> References: <201006211109.11653.jhb@freebsd.org> <92373.1277148310@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100621211452.GA83787>