Compensate for continuous memory usage decrease (bug #4835).

svn path=/trunk/; revision=44899
This commit is contained in:
Dmitry Gorbachev 2010-01-02 20:41:04 +00:00
parent 4bd7acbe8c
commit d31a1e2703

View file

@ -167,6 +167,9 @@ MmCreateKernelStack(IN BOOLEAN GuiStack,
*PointerPte = TempPte;
}
// Bug #4835
InterlockedExchangeAddUL(&MiMemoryConsumers[MC_NPPOOL].PagesUsed, StackPages);
//
// Release the PFN lock
//