Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2009 09:01:04 -0600
From:      Brooks Davis <brooks@freebsd.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-hackers@freebsd.org, Andriy Gapon <avg@icyb.net.ua>
Subject:   Re: generalizing fd allocation code to id allocation
Message-ID:  <20090211150104.GA54097@lor.one-eyed-alien.net>
In-Reply-To: <200902111425.45981.hselasky@c2i.net>
References:  <4992CA63.8080601@icyb.net.ua> <4992CE1A.6060106@icyb.net.ua> <200902111425.45981.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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!
>=20
> The only problem about alloc_unr() is that you cannot allocate multiple=
=20
> 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

--azLHFNyN32YCQGCU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iD8DBQFJkugwXY6L6fI4GtQRAvsoAKC9lhlFpjmblOSlfpiAEeH1jdfRjwCgregf
WoaI41iNE/tAPwElDxP5OtE=
=BChb
-----END PGP SIGNATURE-----

--azLHFNyN32YCQGCU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090211150104.GA54097>