mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[NTOS]: Allocate non-paged pool pages with MiRemoveAnyPage instead of MmAllocPage.
svn path=/trunk/; revision=47570
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user