Author: cgutman
Date: Sat Dec 10 04:11:19 2011
New Revision: 54631
URL:
http://svn.reactos.org/svn/reactos?rev=54631&view=rev
Log:
[NTOSKRNL]
- Print trimmed consumers during text-mode setup too
Modified:
trunk/reactos/ntoskrnl/mm/balance.c
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] Sat Dec 10 04:11:19 2011
@@ -164,9 +164,8 @@
/* Now swap the pages out */
Status = MiMemoryConsumers[Consumer].Trim(Target, 0, &NrFreedPages);
- if (!ExpInTextModeSetup)
- DPRINT1("Trimming consumer %d: Freed %d pages with a target of %d
pages\n", Consumer, NrFreedPages, Target);
-
+ 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");