generalizing fd allocation code to id allocation

David Schultz das at FreeBSD.ORG
Wed Feb 11 07:43:33 PST 2009


On Wed, Feb 11, 2009, 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?

Both Solaris' vmem(9) and NetBSD's extent(9) can do this...
might be worth looking into.


More information about the freebsd-hackers mailing list