From owner-freebsd-arch Fri Feb 7 19:17:34 2003 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 9E5C937B401 for ; Fri, 7 Feb 2003 19:17:33 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D444543F85 for ; Fri, 7 Feb 2003 19:17:32 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h183HNL94536; Fri, 7 Feb 2003 22:17:23 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Fri, 7 Feb 2003 22:17:23 -0500 (EST) From: Jeff Roberson To: Alfred Perlstein Cc: Gary Thorpe , Julian Elischer , Peter Wemm , Dag-Erling Smorgrav , Subject: Re: New kernel allocation API In-Reply-To: <20030208022722.GB88781@elvis.mu.org> Message-ID: <20030207221623.V72073-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 7 Feb 2003, Alfred Perlstein wrote: > *snip* > > It seems that you've missed reading the original allocator or something, > there's a cheap way to do this that doesn't require too much overhead. It seems that you've missed reading my email. "The old code used a large fixed size array that represented all of kmem_map. This no longer works because the allocator can return pages that are outside of kmem map. It does this on alpha, ia64, and sparc64 to use direct mapped regions of address space for kernel memory." > Yes there is a space tradeoff, but it avoids this pmap_kextract > nonsense and multiple pointer dereferences. It's not so much nonsense as it is a solution. Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message