[NTOS]: Allocate non-paged pool pages with MiRemoveAnyPage instead of MmAllocPage.

svn path=/trunk/; revision=47570
This commit is contained in:
Sir Richard 2010-06-04 17:40:11 +00:00
parent 86ed4d64b5
commit 1c28c16dfe

View file

@ -590,10 +590,8 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
TempPte = ValidKernelPte; TempPte = ValidKernelPte;
do do
{ {
// /* Allocate a page */
// Allocate a page PageFrameNumber = MiRemoveAnyPage(0);
//
PageFrameNumber = MmAllocPage(MC_NPPOOL);
/* Get the PFN entry for it and fill it out */ /* Get the PFN entry for it and fill it out */
Pfn1 = MiGetPfnEntry(PageFrameNumber); Pfn1 = MiGetPfnEntry(PageFrameNumber);