Author: sir_richard
Date: Fri Jun 4 19:40:11 2010
New Revision: 47570
URL:
http://svn.reactos.org/svn/reactos?rev=47570&view=rev
Log:
[NTOS]: Allocate non-paged pool pages with MiRemoveAnyPage instead of MmAllocPage.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/pool.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pool.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pool.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/pool.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/pool.c [iso-8859-1] Fri Jun 4 19:40:11 2010
@@ -590,10 +590,8 @@
TempPte = ValidKernelPte;
do
{
- //
- // Allocate a page
- //
- PageFrameNumber = MmAllocPage(MC_NPPOOL);
+ /* Allocate a page */
+ PageFrameNumber = MiRemoveAnyPage(0);
/* Get the PFN entry for it and fill it out */
Pfn1 = MiGetPfnEntry(PageFrameNumber);