projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a909a08
)
[NTOS:MM]
author
Thomas Faber
<thomas.faber@reactos.org>
Wed, 19 Apr 2017 14:40:53 +0000
(14:40 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Wed, 19 Apr 2017 14:40:53 +0000
(14:40 +0000)
- Never use special pool for prototype PTEs. Avoids "(PointerPte >= (PMMPTE)MmPagedPoolStart) && (PointerPte <= (PMMPTE)MmPagedPoolEnd)" assertion failure in MiDecrementShareCount.
CORE-11474
svn path=/trunk/; revision=74378
reactos/ntoskrnl/mm/ARM3/special.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/mm/ARM3/special.c
b/reactos/ntoskrnl/mm/ARM3/special.c
index
744709d
..
dfc8d57
100644
(file)
--- a/
reactos/ntoskrnl/mm/ARM3/special.c
+++ b/
reactos/ntoskrnl/mm/ARM3/special.c
@@
-275,6
+275,13
@@
MmAllocateSpecialPool(SIZE_T NumberOfBytes, ULONG Tag, POOL_TYPE PoolType, ULONG
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 */