path: root/tests/hugetests.h
diff options
authorEric B Munson <emunson@mgebm.net>2012-12-01 13:44:00 -0500
committerEric B Munson <emunson@mgebm.net>2012-12-07 18:13:26 -0500
commit2a478def078d2606a58b75a3c6b6ec28043c8409 (patch)
tree751fabb558a03840ca12532e4a9d6576a00a80e2 /tests/hugetests.h
parent8c075e336029bad7d4fafd87cd1e47f75ab50073 (diff)
Revert "exhaust malloc arenas before malloc tests"
This reverts commit cdd2fa336d9980eb268a775b7cf9c49e3b698cd7. Conflicts: tests/hugetests.h tests/testutils.c With the removal of sscanf from the setup routines, the malloc tests now pass without having to exhaust small page allocations. Signed-off-by: Eric B Munson <emunson@mgebm.net> Cc: Jan Stancek <jstancek@redhat.com> Cc: Steve Capper <steve.capper@arm.com>
Diffstat (limited to 'tests/hugetests.h')
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/hugetests.h b/tests/hugetests.h
index 67af49f..8b1d8d9 100644
--- a/tests/hugetests.h
+++ b/tests/hugetests.h
@@ -48,7 +48,6 @@ int test_addr_huge(void *p);
unsigned long long get_mapping_page_size(void *p);
long read_meminfo(const char *tag);
ino_t get_addr_inode(void *p);
-int consume_heap(long max);
int range_is_mapped(unsigned long low, unsigned long high);
#define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))