[parisc-linux] MAX_ADDRESS.

Naresh knaresh@india.hp.com
Tue, 30 Sep 2003 11:03:28 +0530


Hi,
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.
Regards,
Naresh.