3 ms·
On the systems I've seen, brk makes a lazy allocation, i.e. it doesn't allocate physical memory until you write to a page.
by lgeek 12y ago
On the systems I've seen, brk makes a lazy allocation, i.e. it doesn't allocate physical memory until you write to a page.