[patch v1] malloc: add malloc_zero_aborts tunable
Collin Funk
collin.funk1@gmail.com
Fri Feb 13 21:53:53 GMT 2026
Paul Eggert <eggert@cs.ucla.edu> writes:
> On 2026-02-13 09:22, DJ Delorie wrote:
>> Wilco Dijkstra <Wilco.Dijkstra@arm.com> writes:
>>> I agree with the goal of adding ifuncs, however it's not clear how
>>> easy it is.
>> I'm going to take a shot at it today. "It can't be THAT hard." ;-)
>
> Adding ifuncs makes sense for other reasons. But I still don't see why
> we should add the proposed tunable.
>
> The proposed tunable wouldn't make GNU/Linux programs more reliable,
> or faster; on the contrary, it would make them a bit harder to develop
> and maintain.
>
> As far as I can tell, the proposed tunable's main goal is to make
> GNU/Linux programs more portable to IBM AIX (and hypothetically to
> other, even-more-obscure systems). But no users have asked for this.
> And the goal is not worth the
> development/maintenance/documentation/administrative/etc. overhead of
> adding such a tunable.
Couldn't someone who really wants this behavior just replace malloc
using LD_PRELOAD or something anyways?
Collin
More information about the Libc-alpha
mailing list