mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
[NTOS]: Allocate non-paged pool pages with MiRemoveAnyPage instead of MmAllocPage.
svn path=/trunk/; revision=47570
This commit is contained in:
parent
86ed4d64b5
commit
1c28c16dfe
1 changed files with 2 additions and 4 deletions
|
@ -590,10 +590,8 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue