Skip to contentSkip to conversation

High Memory question

DISCUSSION Mehdi Hashemian 2 participants 2 messages Nov 16, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

Going through different parts of Kernel, I am trying to figure out if I need to change /page.h/__PAGE_OFFSET to some smaller value when compiling with CONFIG_HIGHMEM4G option to support more than 1G physical memory. Other than that, I can not figure out how virtual address for vmalloc and ioremap are going to fit above logical addresses.

Any comment appreciated!
Mehdi

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

#1 lore raw
Quoted 1 line

Going through different parts of Kernel, I am trying to figure out if I need to change /page.h/__PAGE_OFFSET to some smaller value when compiling with CONFIG_HIGHMEM4G option to support more than 1G physical memory.

No.

Quoted 1 line

Other than that, I can not figure out how virtual address for vmalloc and ioremap are going to fit above logical addresses.

By default it'll be the top 128Mb of RAM. Phys addrs are not mapped 1-1 onto virtual if you have highmem any more.

M.