Memory Allocation: Difference between revisions

no edit summary
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 47:
The other task of memory management: Process address space management, keeping track of used pages (yes, lets talk about paging, it is nice, it is neat, it causes a warm fuzzy feeling beneath the toes) and assigning memory to processes as needed, you can split it up. To be more precise, you have to split this task up - or keep every aspect of memory management in kernel land to make it easy. A recommended method for managing process address space: handle it in a per-process-manner. The actual process needs memory: allocate the memory and hand it out to the process. So you can keep the page allocating routines easy and straight forward. For this task of allocating/deallocating memory, you should take into consideration, that the task performing such actions should be able to slip into address spaces at needs (it loads the required page directory and does what it has to do - slimy little weasel thou' it is.) Take those things into good consideration and put quite an amount of brainwork into them. It's worth doing good engineering here.
 
 
==Related Articles==
==See Also==
===Tutorials===
*[[Writing a memory manager]]
 
===External Links===
*[http://www.cs.hut.fi/~tvoipio/memtutor.html Basic VMM]
*[http://www.osdever.net/tutorials/memory1.php?the_id=44 Memory Management 1] - Part one of a two part series on memory management by Tim Robinson
Anonymous user