[MM]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 4 Dec 2009 13:06:00 +0000 (13:06 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 4 Dec 2009 13:06:00 +0000 (13:06 +0000)
commit4d8e5b9b6ec07b170a8b59c492eedfc0edc43dd2
tree2dd1871cfa5f8db9531166f5011acaa2dc4fa6c2
parent8744e698e929f14a5109ca2d8724f7eb11ddf17d
[MM]
Rewrite MmAllocateSection to use system PTEs. Store the MDL pointer in the first PFN, to avoid allocating an additional PTE. Implement MmFreeSection. Now the bootdrivers go where they should go, freeing up lower system memory, and unloaded drivers actually get their memory freed (saving us 188 KB each boot).

svn path=/branches/ros-amd64-bringup/; revision=44402
reactos/ntoskrnl/include/internal/mm.h
reactos/ntoskrnl/mm/section.c
reactos/ntoskrnl/mm/sysldr.c