generalizing fd allocation code to id allocation

Brooks Davis brooks at freebsd.org
Wed Feb 11 07:30:53 PST 2009


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!
> 
> The only problem about alloc_unr() is that you cannot allocate multiple 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090211/64e4ae38/attachment.pgp


More information about the freebsd-hackers mailing list