How process size is calculated? Is it always based on the current
highest available address in memory space?
yuri at rawbw.com
Mon Dec 29 05:11:32 UTC 2008
malloc(3) can be controlled by MALLOC_OPTIONS to use mmap-based
allocation as opposed to sbrk-based allocation.
But allocations/deallocations with mmaps can eventually lead to
non-continuously mmapped memory (having some non-mmapped gaps).
Are these gaps excluded from the process size or size is always linked
to the current highest available address in memory space?
More information about the freebsd-questions