Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2004 19:37:34 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        arch@freebsd.org
Subject:   Re: [REVIEW] unit number allocation API
Message-ID:  <xzpbri1nyg1.fsf@dwp.des.no>
In-Reply-To: <200407221502.i6MF2Yqg039032@freefall.freebsd.org> (Poul-Henning Kamp's message of "Thu, 22 Jul 2004 15:02:34 GMT")
References:  <200407221502.i6MF2Yqg039032@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp <phk@FreeBSD.org> writes:
> This is a small API I just wrote, targeted specifically for allocating
> unit numbers and similar spaces.

We already have heavily tested and benchmarked code for this in
kern_descrip.c; it shouldn't be too hard to rip it free of the file
descriptor code.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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