mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[NTOS/MM] Do not dirtify section pages for system-space maps
Cc does it for itself.
This commit is contained in:
parent
d440434a8e
commit
0933337404
1 changed files with 5 additions and 1 deletions
|
@ -3343,8 +3343,12 @@ MmFreeSectionPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (Process)
|
if (Process)
|
||||||
|
{
|
||||||
MmDeleteRmap(Page, Process, Address);
|
MmDeleteRmap(Page, Process, Address);
|
||||||
MmUnsharePageEntrySectionSegment(MemoryArea, Segment, &Offset, Dirty, FALSE, NULL);
|
}
|
||||||
|
|
||||||
|
/* We don't dirtify for System Space Maps. We let Cc manage that */
|
||||||
|
MmUnsharePageEntrySectionSegment(MemoryArea, Segment, &Offset, Process ? Dirty : FALSE, FALSE, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue