murad on Nostr: Unix V4's malloc() took a memory map, and mfree() wanted the size back. Explicit ...
Unix V4's malloc() took a memory map, and mfree() wanted the size back. Explicit regions and sized frees in 1973, basically arenas, and then we dropped it. Great dig through old Unix source by napcakes, with galloc() and Pike's gcnew() thrown in:
https://napcakes.nekoweb.org/posts/malloc/Published at
2026-11-02 16:53:46 GMTEvent JSON
{
"id": "350852422bc747308da8215032d2bb6bbbbd5706a25bfebc34d39e48f5f92f17",
"pubkey": "ca1740daaf6a32c1dbe0a1000caa6117b263b40b1a927dbfa830f3d1c94ae976",
"created_at": 1793638426,
"kind": 1,
"tags": [],
"content": "Unix V4's malloc() took a memory map, and mfree() wanted the size back. Explicit regions and sized frees in 1973, basically arenas, and then we dropped it. Great dig through old Unix source by napcakes, with galloc() and Pike's gcnew() thrown in:\n\nhttps://napcakes.nekoweb.org/posts/malloc/",
"sig": "783c1a6f6c0b63b93c3d654d4f9d73b189d1367c5a3752c5346af6c440b01edb78ea0398483d3659ff740f3cff77650eebc320568f1d8a05a286758b1ac3bbe6"
}