This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Add malloc micro benchmark


Carlos O'Donell wrote:
>
> Don't use mallopt, please make it a tunable then.
> 
> The mallopt API already had 2 secret arena options which eventually became
> so well used they were baked into the API and had to be made public.

Unfortunately tunables are not exported so you can't use them outside of GLIBC:

/build/glibc/benchtests/bench-malloc-simple.o: In function `bench':
bench-malloc-simple.c:(.text+0x19c): undefined reference to `__tunable_set_val'
collect2: error: ld returned 1 exit status

Wilco

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]