mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
malloc: add testing for large tcache support
This patch adds large tcache support tests by re-executing malloc tests using the tunable: glibc.malloc.tcache_max=1048576 Test names are postfixed with "largetcache". Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
This commit is contained in:
committed by
Wilco Dijkstra
parent
cbfd798810
commit
cde5caa4bb
@@ -147,6 +147,22 @@ tests-malloc-hugetlb1 = \
|
||||
tests-malloc-hugetlb2 = \
|
||||
$(filter-out $(tests-exclude-hugetlb2), $(tests))
|
||||
|
||||
tests-exclude-largetcache = \
|
||||
tst-compathooks-off \
|
||||
tst-compathooks-on \
|
||||
tst-interpose-thread \
|
||||
tst-interpose-nothread \
|
||||
tst-interpose-static-nothread \
|
||||
tst-interpose-static-thread \
|
||||
tst-mallocstate \
|
||||
tst-malloc-backtrace \
|
||||
tst-malloc-usable \
|
||||
tst-malloc-usable-tunables \
|
||||
# tests-exclude-largetcache
|
||||
|
||||
tests-malloc-largetcache = \
|
||||
$(filter-out $(tests-exclude-largetcache), $(tests))
|
||||
|
||||
# -lmcheck needs __malloc_initialize_hook, which was deprecated in 2.24.
|
||||
ifeq ($(have-GLIBC_2.23)$(build-shared),yesyes)
|
||||
# Tests that don't play well with mcheck. They are either bugs in mcheck or
|
||||
|
Reference in New Issue
Block a user