[NTOS:MM]

- Add an informational DPRINT for testbot in addition to asserting in MmFreeMemoryArea
CORE-7445

svn path=/trunk/; revision=60970
This commit is contained in:
Thomas Faber 2013-11-13 11:43:21 +00:00
parent 8c5fbba82d
commit f9f0df8522

View file

@ -1185,7 +1185,14 @@ MmDeleteProcessAddressSpace(PEPROCESS Process)
Address =(PVOID)((ULONG_PTR)Address + (PAGE_SIZE * PTE_COUNT)))
{
/* At this point all references should be dead */
if (MmWorkingSetList->UsedPageTableEntries[MiGetPdeOffset(Address)] != 0)
{
DPRINT1("Process %p, Address %p, UsedPageTableEntries %lu\n",
Process,
Address,
MmWorkingSetList->UsedPageTableEntries[MiGetPdeOffset(Address)]);
ASSERT(MmWorkingSetList->UsedPageTableEntries[MiGetPdeOffset(Address)] == 0);
}
pointerPde = MiAddressToPde(Address);
/* Unlike in ARM3, we don't necesarrily free the PDE page as soon as reference reaches 0,
* so we must clean up a bit when process closes */