LWN.net Logo

Reorganizing the address space

Reorganizing the address space

Posted Jul 3, 2004 5:46 UTC (Sat) by Ross (subscriber, #4065)
In reply to: Reorganizing the address space by ngmr
Parent article: Reorganizing the address space

It's sbrk(2) vs. mmap(2). Calling malloc(3) usually results in a call
to sbrk(2) if there is not enough free space, but sometimes, in some
implementations, it can result in a call to mmap(2).


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.