This testcase may still fail on x86_64 with SIGBUS, for example
with kernels 2.6.32-307.el6.x86_64 or 3.5.0-0.23.el7.x86_64.
At this moment it appears to be kernel bug at mremap():
Bug 855864 - SIGBUS after mremap() near hugepage
https://bugzilla.redhat.com/show_bug.cgi?id=855864
Regards,
Jan
--
This testcase failed on some setups (ppc64):
Starting testcase "./obj64/mremap-expand-slice-collision", pid 10840
do_readback(0x2000100, 0x100, "huge above")
do_readback(0x1ff, 0x1, "normal below")
Attempting to remap...disallowed
do_readback(0x2000100, 0x1, "n