Re:Linear Address Spaces: Unsafe at any speed
by kllrnohj on Wednesday June 29, 2022 @10:22PM
(#31928115)
Although you shouldn't be on a modern system, you'd instead be implementing malloc on top of mmap. So remove sbrk, and make mmap the "object allocator", and tada! You don't really need linear virtual address spaces anymore.
[ Parent
| on HN ]
Re:Linear Address Spaces: Unsafe at any speed
by gary_0 on Wednesday June 29, 2022 @10:56PM
(#31928300)
Newer allocators like mimalloc[0] don't even support sbrk (I think jemalloc still does). Mimalloc seems to have some interesting features.