Re: mmap broken?

2007-08-09 Thread David Mosberger-Tang
Never mind: with MAP_SHARED, the ia64 linux kernel will try to align the mapping to a 1MB boundary to avoid potentially bad performance due to false sharing, so the kernel is doing the Right Thing and it's the app that should have used MAP_PRIVATE instead. --david On 8/9/07, David

RE: mmap broken?

2007-08-09 Thread Luck, Tony
There is a libunwind test-case that used to work fine but fails with recent kernels (e.g., 2.6.23-rc2). The problem is exhibited by the attached test program. It attempts to map the page right after the register-backing-store area with a no-access page. The mmap call succeeds, but the