Reorganizing the address space
Posted Aug 24, 2005 13:08 UTC (Wed) by
jasnevo (guest, #32041)
Parent article:
Reorganizing the address space
Great explanation, thank you.
Just one thing that makes me curious... beforehand, some words on the situation. I've developed a highly specific, thread-safe allocator for a CAD-Kernel not using the OS-malloc utility. Originally designed on Win32, this allocator is using the Virtual* functions for allocation. As a post further down stated, those functions are highly straightforward. On my way to LINUX one question pains me: do I have to care for sbrk() at all or may I exclusively use the mmap() functions (and by-the-way gain POSIX conformance)? More precisely, by giving a start address to mmap(), can I force mmap() to go below the sbrk() threshold? The latter figure somewhat supposes that this is possible...
Further information is gratefully appreciated.
Christian.
(
Log in to post comments)