PM and paging

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Ozguxxx

Re:PM and paging

Post by Ozguxxx »

So nonpaged heap supplies memory for memory management operations, it is simple but it is managed by completely different functions from VMM and it is limited. Paged heap supplies all memory needed for kernel operations and it is managed by VMM and low level physical allocator. And can supply gigs of virtual memory for kernel. So I have to get memory needed for linked list from nonpaged heap memory. Right?
Tim

Re:PM and paging

Post by Tim »

Right. :) You'd use the non-paged heap anywhere where you didn't want to affect the VMM in some way. If you added swapfile capabilities to the VMM then anything in the swapping code path (device manager, scheduler, file system, IDE driver) must use the non-paged heap too.
Ozguxxx

Re:PM and paging

Post by Ozguxxx »

I think I got the basic idea, I still have some questions when multitasking comes into play but I think they can wait until then, thanx a lot...
Post Reply