On 08/23/2010 11:49 AM, Dan Burton wrote: > <http://en.wikipedia.org/wiki/Malloc#Implementations>The simple cop-out > answer is this: it depends on the OSs implementation of malloc. Someone > could certainly write an OS that works as you describe. How exactly popular > OSs actually work in this regard, I'm not quite sure.
He's not quite asking about malloc (I think). He's asking how the kernel deals with an application's working set. Is it likely to be contiguous in physical RAM? He shouldn't have used malloc in his question as malloc isn't even a function of the OS. It's a C library thing. So heap fragmentation and physical memory page pool fragmentation are different things. -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
