[parisc-linux] MAX_ADDRESS.

Matthew Wilcox willy@debian.org
Tue, 30 Sep 2003 13:06:36 +0100


On Tue, Sep 30, 2003 at 11:03:28AM +0530, Naresh wrote:
> This question is relevant to the 2.4 kernel. Is MAX_ADDRESS really the
> highest virtual address mapped by the kernel? I can see this comment in
> 'paging_init()' in the section for DISCONTIGMEM. However,
> pagetable_init() doesnt make a check before it calls 'map_pages( )' for
> all the ranges of memory. So we may DISCONTIGMEM turned off but  it may
> so happen that we have a 'pmem_ranges[]' entry that is greater than
> MAX_ADDRESS which may find its way into the kernel page tables.

Ignore the DISCONTIGMEM code.  It's completely broken (and we offer no
way to turn CONFIG_DISCONTIGMEM on).

I'm not sure what half of this code is for; you'd need to ask John Marvin
who wrote it.

-- 
"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