Author: tfaber
Date: Wed Apr 19 14:40:53 2017
New Revision: 74378
URL:
http://svn.reactos.org/svn/reactos?rev=74378&view=rev
Log:
[NTOS:MM]
- Never use special pool for prototype PTEs. Avoids "(PointerPte >=
(PMMPTE)MmPagedPoolStart) && (PointerPte <= (PMMPTE)MmPagedPoolEnd)"
assertion failure in MiDecrementShareCount.
CORE-11474
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/special.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/special.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/special.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/special.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/special.c [iso-8859-1] Wed Apr 19 14:40:53 2017
@@ -275,6 +275,13 @@
0x30);
}
+ /* Some allocations from Mm must never use special pool */
+ if (Tag == 'tSmM')
+ {
+ /* Reject and let normal pool handle it */
+ return NULL;
+ }
+
/* TODO: Take into account various limitations */
/* Heed the maximum limit of nonpaged pages */