mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
[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:
@@ -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 ([email protected])
|
||||
* PROJECT: ReactOS Kernel
|
||||
* LICENSE: GPL - See COPYING in the top level directory
|
||||
* PURPOSE: Configuration Manager - Internal Registry APIs
|
||||
* PROGRAMMERS: Alex Ionescu <[email protected]>
|
||||
*/
|
||||
|
||||
/* INCLUDES *******************************************************************/
|
||||
|
||||
#include "ntoskrnl.h"
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include "debug.h"
|
||||
|
||||
/* GLOBALS ********************************************************************/
|
||||
|
||||
@@ -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 ([email protected])
|
||||
* Cameron Gutman ([email protected])
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* PURPOSE: kernel memory management functions
|
||||
* PROGRAMMERS: David Welch <[email protected]>
|
||||
* Cameron Gutman <[email protected]>
|
||||
*/
|
||||
|
||||
/* 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;
|
||||
|
||||
Reference in New Issue
Block a user