Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2008 21:13:25 -0800
From:      Yuri <yuri@rawbw.com>
To:        freebsd-hackers@freebsd.org
Subject:   How process size is calculated? Is it always based on the current highest available address in memory space?
Message-ID:  <49585C75.80203@rawbw.com>

index | next in thread | raw e-mail

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?

Yuri


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49585C75.80203>