Andre and Rob, After testing this program on omap4/omap3/imx51, I got the same result. Some mmap system call return value is not the one we expected. But it is OK on x86.
I think this issue can be divided into two parts: 1. mmap doesn't make sure to return the virtual mmaping address as we want. So I still think the behavior of mmap on ARM is right although it passed on x86. 2. the difference between x86 and ARM of mmap is because the different in mmap system call implementation. It is not a OMAP specific issue, IMHO. I'm digging in the mmap code of ARM now And I was told some applications need to get the mmap virtual address as we want, otherwise the application can't run. I suggest we post this test case to ARM upstream kernel mail list to get help. -Bryan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/697004 Title: mmap for fixed address fails for higher addresses -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs