Memory Usage Question
Posted: Thu Apr 12, 2007 6:07 am
I was seriously wondering that, if I have a kernel heap, a kernel core area, a stack area, and an user area to load user-space programs...
Where am I supposed to load things like disk data dynamically, and other possibly heavier things like the GUI of each program (as well as "window overlapping/dynamic transparency", etc.)?
Should I maybe put it in the same user-space area, and keep track to its process ID by using linked lists, binary trees, etc.?
Or should I use the video memory itself (in the case of video, which is said to be slower than normal RAM, at least to read) and, when it gets full, save the data to disk virtual memory?
---
And the same goes to dynamic decoding of images and such kind of processing tasks. Is there some way to assign memory for applications data other than the one I roughly mentioned?
Where am I supposed to load things like disk data dynamically, and other possibly heavier things like the GUI of each program (as well as "window overlapping/dynamic transparency", etc.)?
Should I maybe put it in the same user-space area, and keep track to its process ID by using linked lists, binary trees, etc.?
Or should I use the video memory itself (in the case of video, which is said to be slower than normal RAM, at least to read) and, when it gets full, save the data to disk virtual memory?
---
And the same goes to dynamic decoding of images and such kind of processing tasks. Is there some way to assign memory for applications data other than the one I roughly mentioned?