[patch] extending alloc_unr(9) to allocate specific unit
phk at phk.freebsd.dk
Mon Jun 21 19:42:07 UTC 2010
In message <201006211109.11653.jhb at 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():
>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 at 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.
More information about the freebsd-hackers