Date: Mon, 21 Jun 2010 19:25:10 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-hackers@freebsd.org, Jaakko Heinonen <jh@freebsd.org> Subject: Re: [patch] extending alloc_unr(9) to allocate specific unit numbers Message-ID: <92373.1277148310@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 21 Jun 2010 11:09:11 -0400." <201006211109.11653.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <201006211109.11653.jhb@freebsd.org>, John Baldwin writes: >On Saturday 19 June 2010 11:48:22 am Jaakko Heinonen wrote: >> As an example here is md(4) converted to use >> alloc_unr() / alloc_unr_specific(): >> >> http://people.freebsd.org/~jh/patches/md-alloc_unr.diff > >This sounds useful to me. Perhaps ask phk@? 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. Other than that: go for it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92373.1277148310>