Sync to trunk (r44933)
[reactos.git] / reactos / ntoskrnl / mm / ARM3 / procsup.c
index 9a5af8d..c7ddc2b 100644 (file)
@@ -166,7 +166,10 @@ MmCreateKernelStack(IN BOOLEAN GuiStack,
         //
         *PointerPte = TempPte;
     }
-    
+
+    // Bug #4835
+    (VOID)InterlockedExchangeAddUL(&MiMemoryConsumers[MC_NPPOOL].PagesUsed, StackPages);
+
     //
     // Release the PFN lock
     //