Dynamic memory managment under Linux

Posted by petersohn on Stack Overflow See other posts from Stack Overflow or by petersohn
Published on 2010-03-28T17:25:16Z Indexed on 2010/03/28 17:53 UTC
Read the original article Hit count: 221

Filed under:
|

I know that under Windows, there are API functions like global_alloc() and such, which allocate memory, and return a handle, then this handle can be locked and a pointer returned, then unlocked again. When unlocked, the system can move this piece of memory around when it runs low on space, optimising memory usage.

My question is that is there something similar under Linux, and if not, how does Linux optimize its memory usage?

© Stack Overflow or respective owner

Related posts about linux

Related posts about memory