Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2000 09:38:48 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Andrew Gallatin <gallatin@freebsd.org>, alpha@freebsd.org, dfr@freebsd.org
Subject:   RE: cvs commit: src/sys/alpha/alpha synch_machdep.c
Message-ID:  <Pine.BSF.4.21.0010110935190.14648-100000@salmon.nlsystems.com>
In-Reply-To: <XFMail.001010183512.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010110935190.14648-100000>