commit | 346aab2e758f0ac3297f9a82b94f9db42838d534 | [log] [tgz] |
---|---|---|
author | Caspar Zhang <czhang@redhat.com> | Thu May 12 00:52:37 2011 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Thu May 19 19:01:28 2011 +0200 |
tree | 0547cae40eb8d2a94cdb3fc6c62cf2b9faf3044c | |
parent | e6bb54374380c75df6fffa75f3ea953a6284d66a [diff] |
ksm: fix pagesize 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@redhat.com>