I have a situation where I need to be able to allocate chunks on
unmapped virtual memory.
Because the memory I'm allocating isn't mapped, I can't use a normal
memory allocator, as most of them want to store their metadata about the
free list in the unused holes in the heap. Instead, I need a memory
allocator that stores its metadata out-of-line (perversely enough, a
simple malloc() heap would be fine for that).
Does anyone know of such a beast?
This sort of thing would be useful for allocating any memory-like
resource, such as space in a file, or blocks of time in a day, or that
sort of thing. So I'm sure they're out there; I just can't find any...
--
┌─── ï½„ï½‡ï¼ ï½ƒï½ï½—ï½Œï½ ï½’ï½‹ï¼Žï½ƒï½ ï½ â”€â”€â”€â”€â”€ http://www.cowlark.com ─────
│ "...it's not that well-designed GUI's are rare, it's just that the
│ three-armed users GUI's are designed for are rare." --- Mike Uhl on
│ a.f.c
unmapped virtual memory.
Because the memory I'm allocating isn't mapped, I can't use a normal
memory allocator, as most of them want to store their metadata about the
free list in the unused holes in the heap. Instead, I need a memory
allocator that stores its metadata out-of-line (perversely enough, a
simple malloc() heap would be fine for that).
Does anyone know of such a beast?
This sort of thing would be useful for allocating any memory-like
resource, such as space in a file, or blocks of time in a day, or that
sort of thing. So I'm sure they're out there; I just can't find any...
--
┌─── ï½„ï½‡ï¼ ï½ƒï½ï½—ï½Œï½ ï½’ï½‹ï¼Žï½ƒï½ ï½ â”€â”€â”€â”€â”€ http://www.cowlark.com ─────
│ "...it's not that well-designed GUI's are rare, it's just that the
│ three-armed users GUI's are designed for are rare." --- Mike Uhl on
│ a.f.c
Comment