current mmap10 testcase in git couldn't reproduce the upstream bug as
expected, also it is completely broken on ppc64 system since the page
size in ppc64 is not 4KB but 64KB. This patch fixes these issues.
Some extra fix and cleaning:
. if a system without MADV_MERGEABLE, it should still be able to run all
the other mmap10 tests if only -s option not given.
. Reduce the duplicated useless output to one.
This patch is tested on RHEL6.0 and mmap10 now works as expected.
Signed-off-by: Caspar Zhang <czhang@redhat.com>
2 files changed