Author: cgutman
Date: Wed Dec 14 18:39:21 2011
New Revision: 54649
URL:
http://svn.reactos.org/svn/reactos?rev=54649&view=rev
Log:
[NTOSKRNL]
- Quiet down the paging path
Modified:
trunk/reactos/ntoskrnl/cc/view.c
trunk/reactos/ntoskrnl/mm/anonmem.c
trunk/reactos/ntoskrnl/mm/balance.c
trunk/reactos/ntoskrnl/mm/section.c
Modified: trunk/reactos/ntoskrnl/cc/view.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cc/view.c?rev=546…
==============================================================================
--- trunk/reactos/ntoskrnl/cc/view.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cc/view.c [iso-8859-1] Wed Dec 14 18:39:21 2011
@@ -387,7 +387,7 @@
if (PagesFreed != 0)
{
/* Try again after flushing dirty pages */
- DPRINT1("Flushed %d dirty cache pages to disk\n", PagesFreed);
+ DPRINT("Flushed %d dirty cache pages to disk\n", PagesFreed);
goto retry;
}
}
@@ -400,7 +400,7 @@
CcRosInternalFreeCacheSegment(current);
}
- DPRINT1("Evicted %d cache pages\n", (*NrFreed));
+ DPRINT("Evicted %d cache pages\n", (*NrFreed));
return(STATUS_SUCCESS);
}
Modified: trunk/reactos/ntoskrnl/mm/anonmem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/anonmem.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] Wed Dec 14 18:39:21 2011
@@ -81,7 +81,7 @@
Page = MmGetPfnForProcess(Process, Address);
if (MmGetReferenceCountPage(Page) != 1)
{
- DPRINT1("Cannot page out locked virtual memory page: 0x%p (RefCount:
%d)\n",
+ DPRINT("Cannot page out locked virtual memory page: 0x%p (RefCount:
%d)\n",
Page, MmGetReferenceCountPage(Page));
PageOp->Status = STATUS_UNSUCCESSFUL;
KeSetEvent(&PageOp->CompletionEvent, IO_NO_INCREMENT, FALSE);
Modified: trunk/reactos/ntoskrnl/mm/balance.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/balance.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/balance.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/balance.c [iso-8859-1] Wed Dec 14 18:39:21 2011
@@ -164,10 +164,10 @@
/* Now swap the pages out */
Status = MiMemoryConsumers[Consumer].Trim(Target, 0, &NrFreedPages);
- DPRINT1("Trimming consumer %d: Freed %d pages with a target of %d
pages\n", Consumer, NrFreedPages, Target);
-
- if (NrFreedPages == 0)
- DPRINT1("Ran out of pages to swap! Complete memory exhaustion is
imminent!\n");
+ DPRINT("Trimming consumer %d: Freed %d pages with a target of %d
pages\n", Consumer, NrFreedPages, Target);
+
+ if (NrFreedPages == 0)
+ DPRINT1("Ran out of pages to swap!\n");
if (!NT_SUCCESS(Status))
{
Modified: trunk/reactos/ntoskrnl/mm/section.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/section.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] Wed Dec 14 18:39:21 2011
@@ -2111,7 +2111,7 @@
*/
if (MmGetReferenceCountPage(Page) != 1)
{
- DPRINT1("Cannot page out locked section page: 0x%p (RefCount: %d)\n",
+ DPRINT("Cannot page out locked section page: 0x%p (RefCount: %d)\n",
Page, MmGetReferenceCountPage(Page));
PageOp->Status = STATUS_UNSUCCESSFUL;
MmspCompleteAndReleasePageOp(PageOp);