[parisc-linux] Re: Debian on rp 7400

Matthew Wilcox willy@debian.org
Fri, 8 Aug 2003 18:56:13 +0100


On Fri, Aug 08, 2003 at 10:37:44AM -0600, Grant Grundler wrote:
> On Fri, Aug 08, 2003 at 09:10:44AM +0000, Joel Soete wrote:
> > >IIRC, "non-equivalently mapped aliases" 
> 
> > Is there much more detailed public doc some where about this stuff?
> 
> sorry - I don't understand the problems well enough.
> The PA 2.0 arch book might describe the cache behaviors sufficiently
> to determine this will be a problem.

You're looking for the section "Address Aliasing" starting on page F-5.
For the dead-tree-non-enabled, it's covered at
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,959!218!244,00.html

Note that the book has some small errata in this section; the copy on
the web has these errata corrected.

Also note that the use of space bits in generating the cache index
is disabled.

Also note that the 16MB boundary discussed is relaxed to 4MB.

> I only partially understand what Jerry talking about and have no idea
> how linux VM implementation collides with the aliasing rules.

User mappings of shared pages are equivalently aliased.  The kernel's
view of user pages is a non-equivalent alias.  We could (ab)use kmap()
to ensure the kernel only accesses user pages through equivalent aliases,
but that requires quite some work.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk