mmap to fixed adr

Volker Poplawski volker at openbios.org
Sun Jun 19 08:02:49 EDT 2011


Hi,

is there a VA range in userspace which is always safe for mmap() with 
fixed adr? (x86_64 mostly)

I.e. a VA range where mmap() or ld will never map memory.

I know I can try particular fixed adr with mmap() and check if the 
mapping succeeds. However this is not what I want. I want mmap() to stay 
clear of certain ranges and map memory there myself.

Regards
.....Volker




More information about the Kernelnewbies mailing list