Release the rmap list lock after cleaning the head entry in
MmDeleteAllRmaps. This may fix bug #1071.
Modified: trunk/reactos/ntoskrnl/mm/rmap.c
_____
Modified: trunk/reactos/ntoskrnl/mm/rmap.c
--- trunk/reactos/ntoskrnl/mm/rmap.c 2005-12-06 16:41:53 UTC (rev
19931)
+++ trunk/reactos/ntoskrnl/mm/rmap.c 2005-12-06 18:39:17 UTC (rev
19932)
@@ -463,6 +463,7 @@
KEBUGCHECK(0);
}
MmSetRmapListHeadPage(Page, NULL);
+ ExReleaseFastMutex(&RmapListLock);
while (current_entry != NULL)
{
previous_entry = current_entry;
@@ -483,7 +484,6 @@
InterlockedExchangeAddUL(&Process->Vm.WorkingSetSize,
-PAGE_SIZE);
}
}
- ExReleaseFastMutex(&RmapListLock);
}
VOID
Show replies by date