This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Small tcache improvements
- From: DJ Delorie <dj at redhat dot com>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- Cc: libc-alpha at sourceware dot org, nd at arm dot com
- Date: Mon, 13 May 2019 17:15:27 -0400
- Subject: Re: [PATCH] Small tcache improvements
Wilco Dijkstra <Wilco.Dijkstra@arm.com> writes:
> There are diminishing returns so really large values make less sense. But I
> can set it to the limit of the type if you prefer.
It's "the GNU way" to avoid arbitrary limitations when possible, at
least it's a subtle hint mentioned elsewhere:
https://www.gnu.org/prep/standards/standards.html#Reading-Non_002dFree-Code
" but do try to organize the imitation internally along different lines,
. . . Or go for generality. For example, Unix programs often have static
tables or fixed-size strings, which make for arbitrary limits; use
dynamic allocation instead."