From owner-freebsd-alpha Wed Oct 11 1:39:47 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by hub.freebsd.org (Postfix) with ESMTP id BF42C37B502; Wed, 11 Oct 2000 01:39:44 -0700 (PDT) Received: from nlsys.demon.co.uk ([158.152.125.33] helo=herring.nlsystems.com) by anchor-post-30.mail.demon.net with esmtp (Exim 2.12 #1) id 13jHQM-000FBq-0U; Wed, 11 Oct 2000 09:39:43 +0100 Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id JAA44459; Wed, 11 Oct 2000 09:46:56 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Wed, 11 Oct 2000 09:38:48 +0100 (BST) From: Doug Rabson To: John Baldwin Cc: Andrew Gallatin , alpha@freebsd.org, dfr@freebsd.org Subject: RE: cvs commit: src/sys/alpha/alpha synch_machdep.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 10 Oct 2000, John Baldwin wrote: > > On 09-Oct-00 Andrew Gallatin wrote: > > gallatin 2000/10/09 11:47:49 PDT > > > > Modified files: > > sys/alpha/alpha synch_machdep.c > > Log: > > kernacc() only knows about mapped memory, not K0SEG addresses. > > Before calling kernacc(), make sure that we're not calling it > > with a K0SEG address. > > > > This gets alphas booting with SMP_DEBUG & INVARIANTS options > > > > approved by: jhb > > After thinking about this some more, shouldn't we rather be fixing > kernacc() instead? Maybe only if(cold)? I think we should teach the VM system about direct-mapped regions. Certain data structures (zones, vm_page_ts, any malloc which is smaller than a page etc. are a waste of TLBs when you can use a direct-mapped region to get at the memory. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message