From owner-freebsd-arch@FreeBSD.ORG Thu Apr 20 06:12:41 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B49B716A401 for ; Thu, 20 Apr 2006 06:12:41 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B1B843D45 for ; Thu, 20 Apr 2006 06:12:41 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id F10241703F; Thu, 20 Apr 2006 06:12:38 +0000 (UTC) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 19 Apr 2006 16:57:09 MDT." <20060419.165709.22017808.imp@bsdimp.com> Date: Thu, 20 Apr 2006 08:12:38 +0200 Message-ID: <3731.1145513558@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: arch@freebsd.org, gurney_j@resnet.uoregon.edu Subject: Re: remove rid pointer (but not rid)... X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2006 06:12:41 -0000 In message <20060419.165709.22017808.imp@bsdimp.com>, "M. Warner Losh" writes: >This will, of course, be a big undertaking in the tree. There are >1216 instances of the string 'alloc_resource' Every single one of >them will need to change in some way. Most of them could beneficially change to use bus_alloc_resources(), thereby improving the code (there are far too many bugs in the error handling) and at the same time cutting the 1216 in half or further down. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.