- This fixes booting on systems which required enough page tables such that the balancer refused the allocation of new pages (around 64+16 pages for page tables of 4KB each, ie. 320MB).
svn path=/trunk/; revision=41511
MiMemoryConsumers[MC_PPOOL].PagesTarget = NrAvailablePages / 2;
MiMemoryConsumers[MC_NPPOOL].PagesTarget = 0xFFFFFFFF;
MiMemoryConsumers[MC_NPPOOL].PagesUsed = NrSystemPages;
+ MiMemoryConsumers[MC_SYSTEM].PagesTarget = 0xFFFFFFFF;
+ MiMemoryConsumers[MC_SYSTEM].PagesUsed = 0;
}
VOID
/*
* Allocate always memory for the non paged pool and for the pager thread.
*/
- if (Consumer == MC_NPPOOL || MiIsBalancerThread())
+ if ((Consumer == MC_NPPOOL) || (Consumer == MC_SYSTEM) || MiIsBalancerThread())
{
Page = MmAllocPage(Consumer, 0);
if (Page == 0)