mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
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:
parent
879f273934
commit
558bc63003
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue