Release the rmap list lock after cleaning the head entry in MmDeleteAllRmaps. This may fix bug #1071.

svn path=/trunk/; revision=19932
This commit is contained in:
Hartmut Birr 2005-12-06 18:39:17 +00:00
parent 879f273934
commit 558bc63003

View file

@ -463,6 +463,7 @@ MmDeleteAllRmaps(PFN_TYPE Page, PVOID Context,
KEBUGCHECK(0);
}
MmSetRmapListHeadPage(Page, NULL);
ExReleaseFastMutex(&RmapListLock);
while (current_entry != NULL)
{
previous_entry = current_entry;
@ -483,7 +484,6 @@ MmDeleteAllRmaps(PFN_TYPE Page, PVOID Context,
InterlockedExchangeAddUL(&Process->Vm.WorkingSetSize, -PAGE_SIZE);
}
}
ExReleaseFastMutex(&RmapListLock);
}
VOID