Index | Thread | Search

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

Download raw body.

Thread
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?