Subject: Re: kernel virtual to phys
To: Charlie Root <root@snowhite.cis.uoguelph.ca>
From: Chris G. Demetriou <cgd@alpha.bostic.com>
List: port-pmax
Date: 08/26/1994 14:18:48
> Well, since the only kernel stuff mapped through the tlb are the per-process
> kernel stack and low level user page table, I'd be tempted to just
> 	addr & 0x1fffffff
> to get the phys addr. (that is what both MACH_CACHED_TO_PHYS() and
> MACH_UNCACHED_TO_PHYS() do.)

forgive my ignorance on this one, but how are the data structures that
would normally end up in kernel virtual memory, such as the buffer
cache, mapped on the PMAX?

It certainly would seem wasteful to place them in the kseg
direct-mapped area, because then you'd be allocating MAXBSIZE
bytes of physical memory per buffer...



thanks,

chris

------------------------------------------------------------------------------