Skip to contentSkip to conversation

remap_page_range() beyond 4GB

DISCUSSION sreekanth reddy 2 participants 3 messages Oct 4, 2002 Memory management

lore
Share & tools
lore
#0 lore raw

How can I "remap_page_range()" for physical addresses beyond 4GB ? . remap_page_range()takes a 32 bit (unsigned long) value which cannot address > 4GB physical memory.

Thanks,

Sreekanth Reddy

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/

#1 lore raw
Quoted 4 lines · sreekanth reddy

How can I "remap_page_range()" for physical addresses beyond 4GB ? . remap_page_range()takes a 32 bit (unsigned long) value which cannot address > 4GB physical memory.

What are you using remap_page_range() on? It should never be used on RAM.

-ben
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/

#2 lore raw

ben..

I want to map the contiguous physical pages (>4GB RAM) that I've allocated into user space. I've also looked into kmap(), kmap_high() that return kernel virtual addresses k(addr)but how do I map kaddr into user address space ? Thanks..

Sreekanth Reddy

Quoted 12 lines · --- Benjamin LaHaise
Quoted 1 line · sreekanth reddy

How can I "remap_page_range()" for physical

addresses

Quoted 3 lines

beyond 4GB ? . remap_page_range()takes a 32 bit
(unsigned long) value which cannot address > 4GB
physical memory.

What are you using remap_page_range() on? It should never be used on
RAM.

Quoted 7 lines

-ben
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/