From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 11 15:43:32 2009 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B92091065670 for ; Wed, 11 Feb 2009 15:43:32 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 5D0438FC1D for ; Wed, 11 Feb 2009 15:43:32 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.3/8.14.2) with ESMTP id n1BFMheg011630; Wed, 11 Feb 2009 10:22:43 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.3/8.14.2/Submit) id n1BFMhM1011629; Wed, 11 Feb 2009 10:22:43 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Wed, 11 Feb 2009 10:22:43 -0500 From: David Schultz To: Hans Petter Selasky Message-ID: <20090211152243.GA11468@zim.MIT.EDU> Mail-Followup-To: Hans Petter Selasky , freebsd-hackers@FreeBSD.ORG, Andriy Gapon References: <4992CA63.8080601@icyb.net.ua> <4992CE1A.6060106@icyb.net.ua> <200902111425.45981.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200902111425.45981.hselasky@c2i.net> Cc: freebsd-hackers@FreeBSD.ORG, Andriy Gapon Subject: Re: generalizing fd allocation code to id allocation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 15:43:33 -0000 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.