Query: ARM64: A random failure with hugetlbfs linked mmap() of a stack area

Pratyush Anand
2017-03-24T16:41:10Z

Hi Mark,

On Friday 24 March 2017 09:45 PM, Mark Rutland wrote:
> It's clear from the log that the test is simply blatting a number of
> important mappings including libc, so I think this is simply a broken
> test.

Thanks a lot for taking out time and investigating it so quickly. Yes, I
noticed that as well. Frankly, I do not understand that why that
upstream libhugetlbfs test is like that. But that test has been passing
on different architecture for quite long time.

Moreover, even if mmap() in test routine crosses over many other
text/rd/rw area mappings, should it fail? We are not writing anything to
mmaped area. So, why should just a creation of another map result in
segmentation fault?

~Pratyush