[ros-diffs] [sir_richard] 48200: [NTOS]: Stop handling PEB/TEB MAREAs since they're not used anymore.
sir_richard at svn.reactos.org
sir_richard at svn.reactos.org
Thu Jul 22 20:48:04 UTC 2010
Author: sir_richard
Date: Thu Jul 22 20:48:04 2010
New Revision: 48200
URL: http://svn.reactos.org/svn/reactos?rev=48200&view=rev
Log:
[NTOS]: Stop handling PEB/TEB MAREAs since they're not used anymore.
Modified:
trunk/reactos/ntoskrnl/mm/rmap.c
Modified: trunk/reactos/ntoskrnl/mm/rmap.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/rmap.c?rev=48200&r1=48199&r2=48200&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/rmap.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/rmap.c [iso-8859-1] Thu Jul 22 20:48:04 2010
@@ -149,7 +149,7 @@
Status = MmWritePageSectionView(AddressSpace, MemoryArea,
Address, PageOp);
}
- else if ((Type == MEMORY_AREA_VIRTUAL_MEMORY) || (Type == MEMORY_AREA_PEB_OR_TEB))
+ else if (Type == MEMORY_AREA_VIRTUAL_MEMORY)
{
PageOp = MmGetPageOp(MemoryArea, Address < MmSystemRangeStart ? Process->UniqueProcessId : NULL,
Address, NULL, 0, MM_PAGEOP_PAGEOUT, TRUE);
@@ -274,7 +274,7 @@
Status = MmPageOutSectionView(AddressSpace, MemoryArea,
Address, PageOp);
}
- else if ((Type == MEMORY_AREA_VIRTUAL_MEMORY) || (Type == MEMORY_AREA_PEB_OR_TEB))
+ else if (Type == MEMORY_AREA_VIRTUAL_MEMORY)
{
PageOp = MmGetPageOp(MemoryArea, Address < MmSystemRangeStart ? Process->UniqueProcessId : NULL,
Address, NULL, 0, MM_PAGEOP_PAGEOUT, TRUE);
More information about the Ros-diffs
mailing list