Index | Thread | Search

From:
David Gwynne <david@gwynne.id.au>
Subject:
Re: dhcpd(8): don't avoid free()
To:
Theo Buehler <tb@theobuehler.org>
Cc:
tech@openbsd.org
Date:
Fri, 30 May 2025 16:03:41 +1000

Download raw body.

Thread

On 30/05/2025 15:43, Theo Buehler wrote:
> On Fri, May 30, 2025 at 03:28:54PM +1000, David Gwynne wrote:
>> dhcpd seems to keep it's own free lists for a couple of data
>> structures.  my best guess for why it would do this is to avoid
>> malloc overhead.  however, responding to dhcp packets is not what
>> i would consider a webscale problem^W^W^Wperformance critical, so
>> this optimisation is unecessary.
>>
>> ok?
> ok
>
> Are you going to remove the free_timeouts list as well?
i have too many diffz in dispatch.c at the moment.