diff options
author | Mike Rapoport <rppt@linux.ibm.com> | 2019-02-05 11:26:36 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2019-04-21 06:25:26 +0300 |
commit | f487c965d441809da1f28b0337ec350d7bfb119e (patch) | |
tree | 595d2b4f9e354ad84de986d71da946a350cd1d65 /test | |
parent | e9822fc6fa04a611e23503ae57da013e5a4c313b (diff) |
zdtm/thp_disable: increase memory size to 2M
Somehow in travis tests the mmap of 8K gets "rounded" down and the actual
VMA starts 4K below the returned address. This causes /proc/pid/smaps
parsing to fail.
Increasing the allocation size to 2M seems to resolve the problem and until
the root cause is identified it looks like a viable workaround.
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/zdtm/static/thp_disable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/zdtm/static/thp_disable.c b/test/zdtm/static/thp_disable.c index 1ccc0123c..a809caaff 100644 --- a/test/zdtm/static/thp_disable.c +++ b/test/zdtm/static/thp_disable.c @@ -10,7 +10,7 @@ const char *test_doc = "Test prctl(THP_DISABLE) behaviour"; const char *test_author = "Mike Rapoport <rppt@linux.ibm.com>"; -#define MEM_SIZE (8192) +#define MEM_SIZE (2 << 20) int main(int argc, char **argv) { |