From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 23 19:12:26 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE8D116A41F for ; Sat, 23 Jul 2005 19:12:26 +0000 (GMT) (envelope-from peter@wemm.org) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83B0E43D45 for ; Sat, 23 Jul 2005 19:12:26 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 628F22A8DA for ; Sat, 23 Jul 2005 12:12:26 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 120B0E2B3 for ; Sat, 23 Jul 2005 12:12:25 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.4/8.13.1) with ESMTP id j6NJCPfC070573; Sat, 23 Jul 2005 12:12:25 -0700 (PDT) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.4/8.13.1/Submit) id j6NJCOb7070572; Sat, 23 Jul 2005 12:12:24 -0700 (PDT) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: Petri Helenius Date: Sat, 23 Jul 2005 12:12:24 -0700 User-Agent: KMail/1.8.1 References: <42DFDCCA.8050207@he.iki.fi> <200507210137.29816.peter@wemm.org> <42DFF043.3090203@he.iki.fi> In-Reply-To: <42DFF043.3090203@he.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507231212.24708.peter@wemm.org> Cc: freebsd-amd64@freebsd.org Subject: Re: kernel memory X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 19:12:26 -0000 On Thursday 21 July 2005 11:58 am, Petri Helenius wrote: > Peter Wemm wrote: > >2GB for paged kernel memory. But in addition we access memory via > > the direct map area to avoid the need for temporary mappings in > > many cases. uma (malloc, mbufs) etc use this, as does the sfbuf > > temporary mapping system. > > So there is no limitation for malloced memory? Say if my driver would > like to have 4 or 8 gig lookup cache that would work? AARGH. I've just found a bug/feature in the memory allocator. There are two code paths, one for small (