Author: tfaber
Date: Fri Feb 1 09:39:54 2013
New Revision: 58258
URL:
http://svn.reactos.org/svn/reactos?rev=58258&view=rev
Log:
[NTOSKRNL:MM]
- More effective debugging
CORE-6929
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/expool.c
trunk/reactos/ntoskrnl/mm/rmap.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/expool.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/expool.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/expool.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/expool.c [iso-8859-1] Fri Feb 1 09:39:54 2013
@@ -572,8 +572,8 @@
//
if (!TableEntry->Key)
{
- DPRINT1("Empty item reached in tracker table. Tag=0x%08lx,
NumberOfBytes=%lu, PoolType=%d\n",
- Key, (ULONG)NumberOfBytes, PoolType);
+ DPRINT1("Empty item reached in tracker table. Hash=0x%lx,
TableMask=0x%lx, Tag=0x%08lx, NumberOfBytes=%lu, PoolType=%d\n",
+ Hash, TableMask, Key, (ULONG)NumberOfBytes, PoolType);
ASSERT(Hash == TableMask);
}
Modified: trunk/reactos/ntoskrnl/mm/rmap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/rmap.c?rev=582…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/rmap.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/rmap.c [iso-8859-1] Fri Feb 1 09:39:54 2013
@@ -27,6 +27,16 @@
/* FUNCTIONS ****************************************************************/
+_IRQL_requires_max_(DISPATCH_LEVEL)
+static
+VOID
+NTAPI
+RmapListFree(
+ _In_ __drv_freesMem(Mem) PVOID P)
+{
+ ExFreePoolWithTag(P, TAG_RMAP);
+}
+
VOID
INIT_FUNCTION
NTAPI
@@ -35,7 +45,7 @@
ExInitializeFastMutex(&RmapListLock);
ExInitializeNPagedLookasideList (&RmapLookasideList,
NULL,
- NULL,
+ RmapListFree,
0,
sizeof(MM_RMAP_ENTRY),
TAG_RMAP,