Re: libphkmalloc? (Was: CVS commit: src/lib/libbsdmalloc)

Jason Thorpe <[email protected]> Tue, 28 Apr 2026 10:13:08 -0700
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
--Apple-Mail=_0475DF4B-CD32-41AD-AA6A-C009559A2374
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Apr 28, 2026, at 9:33=E2=80=AFAM, Valery Ushakov =
<[email protected]> wrote:
>=20
> On Tue, Apr 28, 2026 at 13:02:10 +0000, Taylor R Campbell wrote:
>=20
>> Module Name:	src
>> Committed By:	riastradh
>> Date:		Tue Apr 28 13:02:10 UTC 2026
>>=20
>> Modified Files:
>> 	src/lib/libbsdmalloc: malloc.c
>>=20
>> Log Message:
>> libbsdmalloc: Use mutex_init, not mutex_unlock, in child post-fork.
> [...]
>=20
> I wonder if it's time to retire libbsdmalloc?

Amusingly, I recently used the classical BSD malloc in the firmware for =
a home-brew project, and was thinking that for really constrained =
machines (e.g. 68010), it might be best if it were the default.

-- thorpej


--Apple-Mail=_0475DF4B-CD32-41AD-AA6A-C009559A2374--