[ros-diffs] [cgutman] 56020: [NTOSKRNL] - Kill this straggler from last commit

cgutman at svn.reactos.org cgutman at svn.reactos.org
Sun Mar 4 22:45:46 UTC 2012


Author: cgutman
Date: Sun Mar  4 22:45:46 2012
New Revision: 56020

URL: http://svn.reactos.org/svn/reactos?rev=56020&view=rev
Log:
[NTOSKRNL]
- Kill this straggler from last commit

Modified:
    trunk/reactos/ntoskrnl/cache/section/fault.c

Modified: trunk/reactos/ntoskrnl/cache/section/fault.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cache/section/fault.c?rev=56020&r1=56019&r2=56020&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/cache/section/fault.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cache/section/fault.c [iso-8859-1] Sun Mar  4 22:45:46 2012
@@ -142,13 +142,6 @@
 		{
 			DPRINT("Set %x in address space @ %x\n", Required->Page[0], Address);
 			Status = MmCreateVirtualMapping(Process, Address, Attributes, Required->Page, 1);
-#if (_MI_PAGING_LEVELS == 2)
-            if (Address < MmSystemRangeStart)
-            {
-                Process->Vm.VmWorkingSetList->UsedPageTableEntries[MiGetPdeOffset(Address)]++;
-                ASSERT(Process->Vm.VmWorkingSetList->UsedPageTableEntries[MiGetPdeOffset(Address)] <= PTE_COUNT);
-            }
-#endif 
 			if (NT_SUCCESS(Status))
 			{
 				MmInsertRmap(Required->Page[0], Process, Address);




More information about the Ros-diffs mailing list