ltp-list

ksm test fails on ppc64 systems because of the pagesize on ppc64 is
larger than 4KB, so page_sharing will be a different value. This patch
replace the hard-coded number 256 to a variable: 1MB/pagesize.
Signed-off-by: Caspar Zhang <czhang@...>
---
testcases/kernel/mem/lib/mem.c | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)