Author: dgorbachev
Date: Sat Jan 2 21:41:04 2010
New Revision: 44899
URL:
http://svn.reactos.org/svn/reactos?rev=44899&view=rev
Log:
Compensate for continuous memory usage decrease (bug #4835).
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/procsup.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/procsup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/procsup.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/procsup.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/procsup.c [iso-8859-1] Sat Jan 2 21:41:04 2010
@@ -166,7 +166,10 @@
//
*PointerPte = TempPte;
}
-
+
+ // Bug #4835
+ InterlockedExchangeAddUL(&MiMemoryConsumers[MC_NPPOOL].PagesUsed, StackPages);
+
//
// Release the PFN lock
//