Re: Low limit for memory mapping

Gilles Chanteperdrix <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Organization Xenomai
Message-ID <[email protected]>
Frédéric Point wrote:
> Hi all,
> 
> I tried to mmap with the MAP_FIXED flags set to some addresses
> starting at 0x1000 and mmap always return EPERM.
> 
> However when I can read from this document
> (http://www.arm.linux.org.uk/developer/memory.txt):
> 
> 00001000        TASK_SIZE-1     User space mappings
>                                Per-thread mappings are placed here via
>                                the mmap() system call.
> 
> But I can only map memory above 0x9000 just after where the _text is
> mapped. Could someone point me out why I can't use the addresses
> between 0X1000 and 0x8000 ?

Maybe you need to tweak /proc/sys/vm/mmap_min_addr ?

-- 
                                                                Gilles.


_______________________________________________
linux-arm mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.