PM and paging
Re:PM and paging
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?
Re:PM and paging
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.
Re:PM and paging
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...