This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] Add malloc micro benchmark
- From: DJ Delorie <dj at redhat dot com>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- Cc: carlos at redhat dot com, libc-alpha at sourceware dot org, nd at arm dot com
- Date: Tue, 02 Jan 2018 13:45:29 -0500
- Subject: Re: [PATCH v2] Add malloc micro benchmark
- Authentication-results: sourceware.org; auth=none
Wilco Dijkstra <Wilco.Dijkstra@arm.com> writes:
> To enable this, add support for M_TCACHE_COUNT in mallopt.
What other tests do is create a second test that just #include's the
first test, and set an environment variable in the Makefile specific to
that test. Adding an ABI just for a test is a big hammer, although we
could discuss adding tcache to mallopt() as a seperate topic.
I don't have any objection to adding tcache to mallopt (although please
add all three tunables if you do), just saying we should discuss it as
an ABI change separately.