mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[NEWCC]
* Lock address space while deleting the segment and then unlock it. Brought to you by Nikolay Borisov. CORE-7220 #resolve svn path=/trunk/; revision=59153
This commit is contained in:
parent
be78cf16ca
commit
7bd70fbbf1
1 changed files with 4 additions and 0 deletions
4
reactos/ntoskrnl/cache/section/data.c
vendored
4
reactos/ntoskrnl/cache/section/data.c
vendored
|
@ -819,8 +819,12 @@ MmUnmapViewOfCacheSegment(PMMSUPPORT AddressSpace,
|
|||
MmGetAddressSpaceOwner(AddressSpace),
|
||||
MemoryArea->StartingAddress);
|
||||
|
||||
MmLockAddressSpace(AddressSpace);
|
||||
|
||||
MmFreeMemoryArea(AddressSpace, MemoryArea, MmFreeCacheSectionPage, Context);
|
||||
|
||||
MmUnlockAddressSpace(AddressSpace);
|
||||
|
||||
MmUnlockSectionSegment(Segment);
|
||||
|
||||
DPRINTC("MiUnmapViewOfSegment %p %p %p\n",
|
||||
|
|
Loading…
Reference in a new issue