Author: tfaber
Date: Thu Feb 12 09:14:52 2015
New Revision: 66235
URL:
http://svn.reactos.org/svn/reactos?rev=66235&view=rev
Log:
[NTOS:MM]
- Set aside some additional system PTEs if special pool is enabled
CORE-8680
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/mminit.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/mminit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/mminit.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/mminit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/mminit.c [iso-8859-1] Thu Feb 12 09:14:52 2015
@@ -2181,6 +2181,13 @@
//
MmNumberOfSystemPtes <<= 1;
}
+ if (MmSpecialPoolTag != 0 && MmSpecialPoolTag != -1)
+ {
+ //
+ // Add some extra PTEs for special pool
+ //
+ MmNumberOfSystemPtes += 0x6000;
+ }
}
DPRINT("System PTE count has been tuned to %lu (%lu bytes)\n",