From owner-p4-projects@FreeBSD.ORG Thu Nov 20 18:24:53 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6D3711065674; Thu, 20 Nov 2008 18:24:53 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 304931065673 for ; Thu, 20 Nov 2008 18:24:53 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0CC8FC14 for ; Thu, 20 Nov 2008 18:24:53 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KAN004SC6ZSC310@asmtp020.mac.com>; Thu, 20 Nov 2008 09:23:53 -0800 (PST) Message-id: <1DD739B8-6D48-49DC-8BAC-299D9AD9FC4C@mac.com> From: Marcel Moolenaar To: Nathan Whitehorn In-reply-to: <200811201707.mAKH7dcT045326@repoman.freebsd.org> Date: Thu, 20 Nov 2008 09:23:52 -0800 References: <200811201707.mAKH7dcT045326@repoman.freebsd.org> X-Mailer: Apple Mail (2.929.2) Cc: Perforce Change Reviews Subject: Re: PERFORCE change 153267 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2008 18:24:53 -0000 On Nov 20, 2008, at 9:07 AM, Nathan Whitehorn wrote: > http://perforce.freebsd.org/chv.cgi?CH=153267 > > Change 153267 by nwhitehorn@nwhitehorn_trantor on 2008/11/20 17:07:25 > > Make ofw_real work on kernels with options SMP by making the bounce > page static. On SMP systems, we can get OF calls after the MMU is on > but before the VM is up. This means contigmalloc() is not available. > This is not a good solution, but I can't think of anything else. You can grab pages by adjusting phys_avail. This achieves pretty much the same, but avoids bloating the kernel. If it's possible to give those pages back to the VM after the VM has been initialized, then that would be another benefit... FYI, -- Marcel Moolenaar xcllnt@mac.com