projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
879f273
)
Release the rmap list lock after cleaning the head entry in MmDeleteAllRmaps. This...
author
Hartmut Birr
<osexpert@googlemail.com>
Tue, 6 Dec 2005 18:39:17 +0000
(18:39 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Tue, 6 Dec 2005 18:39:17 +0000
(18:39 +0000)
svn path=/trunk/; revision=19932
reactos/ntoskrnl/mm/rmap.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/mm/rmap.c
b/reactos/ntoskrnl/mm/rmap.c
index
2c3e160
..
402706b
100644
(file)
--- a/
reactos/ntoskrnl/mm/rmap.c
+++ b/
reactos/ntoskrnl/mm/rmap.c
@@
-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