From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 11 13:23:20 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 53B44106566B for ; Wed, 11 Feb 2009 13:23:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id E03F38FC17 for ; Wed, 11 Feb 2009 13:23:19 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=-VmeWncGuDwA:10 a=Xl7yW04Lv0gA:10 a=kw03RjmKpLm8ql5X2xOdcA==:17 a=XwRVTZnAGrRaiR8A6skA:9 a=0yO7PdgZPYkV-XKUKTYSMc2857AA:4 a=LY0hPdMaydYA:10 Received: from [85.19.218.115] (account mc467741@c2i.net HELO laptop) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1192418371; Wed, 11 Feb 2009 14:23:18 +0100 From: Hans Petter Selasky To: freebsd-hackers@freebsd.org Date: Wed, 11 Feb 2009 14:25:45 +0100 User-Agent: KMail/1.9.7 References: <4992CA63.8080601@icyb.net.ua> <4992CE1A.6060106@icyb.net.ua> In-Reply-To: <4992CE1A.6060106@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902111425.45981.hselasky@c2i.net> Cc: 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 13:23:20 -0000 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? --HPS