[NTOSKRNL] Mute some good-path log-spam, no functional change

Now that the Memory Management is a bit more under control again,
and branching releases/0.4.15 is near,
do mute some frequent log-spam that got introduced during 0.4.15-dev'ing
regarding lazy-flushes and MM balancing.
It frequently logged even while being idle.
Slightly improve the headers of the two touched files.
No rocket-science.
This commit is contained in:
Joachim Henze 2023-09-06 14:53:53 +02:00
parent d9cd760173
commit 195c491880
2 changed files with 11 additions and 14 deletions

View file

@ -1,15 +1,14 @@
/*
* PROJECT: ReactOS Kernel
* LICENSE: GPL - See COPYING in the top level directory
* FILE: ntoskrnl/config/cmlazy.c
* PURPOSE: Configuration Manager - Internal Registry APIs
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
* PROGRAMMERS: Alex Ionescu <alex.ionescu@reactos.org>
*/
/* INCLUDES *******************************************************************/
#include "ntoskrnl.h"
//#define NDEBUG
#define NDEBUG
#include "debug.h"
/* GLOBALS ********************************************************************/

View file

@ -1,11 +1,9 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/balance.c
* PURPOSE: kernel memory management functions
*
* PROGRAMMERS: David Welch (welch@cwcom.net)
* Cameron Gutman (cameron.gutman@reactos.org)
* PROGRAMMERS: David Welch <welch@cwcom.net>
* Cameron Gutman <cameron.gutman@reactos.org>
*/
/* INCLUDES *****************************************************************/
@ -144,7 +142,7 @@ MmTrimUserMemory(ULONG Target, ULONG Priority, PULONG NrFreedPages)
(*NrFreedPages) = 0;
DPRINT1("MM BALANCER: %s\n", Priority ? "Paging out!" : "Removing access bit!");
DPRINT("MM BALANCER: %s\n", Priority ? "Paging out!" : "Removing access bit!");
FirstPage = MmGetLRUFirstUserPage();
CurrentPage = FirstPage;