mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:03:00 +00:00
[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:
parent
8c5fbba82d
commit
f9f0df8522
1 changed files with 14 additions and 7 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue