mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +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:
parent
d9cd760173
commit
195c491880
2 changed files with 11 additions and 14 deletions
|
@ -1,15 +1,14 @@
|
||||||
/*
|
/*
|
||||||
* PROJECT: ReactOS Kernel
|
* PROJECT: ReactOS Kernel
|
||||||
* LICENSE: GPL - See COPYING in the top level directory
|
* LICENSE: GPL - See COPYING in the top level directory
|
||||||
* FILE: ntoskrnl/config/cmlazy.c
|
* PURPOSE: Configuration Manager - Internal Registry APIs
|
||||||
* PURPOSE: Configuration Manager - Internal Registry APIs
|
* PROGRAMMERS: Alex Ionescu <alex.ionescu@reactos.org>
|
||||||
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* INCLUDES *******************************************************************/
|
/* INCLUDES *******************************************************************/
|
||||||
|
|
||||||
#include "ntoskrnl.h"
|
#include "ntoskrnl.h"
|
||||||
//#define NDEBUG
|
#define NDEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
/* GLOBALS ********************************************************************/
|
/* GLOBALS ********************************************************************/
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/mm/balance.c
|
* PURPOSE: kernel memory management functions
|
||||||
* 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 *****************************************************************/
|
/* INCLUDES *****************************************************************/
|
||||||
|
@ -144,7 +142,7 @@ MmTrimUserMemory(ULONG Target, ULONG Priority, PULONG NrFreedPages)
|
||||||
|
|
||||||
(*NrFreedPages) = 0;
|
(*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();
|
FirstPage = MmGetLRUFirstUserPage();
|
||||||
CurrentPage = FirstPage;
|
CurrentPage = FirstPage;
|
||||||
|
|
Loading…
Reference in a new issue