mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[NEWCC]
- Turn off a bit more debugging so NewCC is largely quiet unless there's a problem svn path=/trunk/; revision=56015
This commit is contained in:
parent
28a5fcc313
commit
4350714766
2 changed files with 4 additions and 4 deletions
4
reactos/ntoskrnl/cache/cachesub.c
vendored
4
reactos/ntoskrnl/cache/cachesub.c
vendored
|
@ -12,7 +12,7 @@
|
|||
#include <ntoskrnl.h>
|
||||
#include "newcc.h"
|
||||
#include "section/newmm.h"
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* STRUCTURES *****************************************************************/
|
||||
|
@ -50,7 +50,7 @@ CcpReadAhead(PVOID Context)
|
|||
LARGE_INTEGER Offset;
|
||||
PWORK_QUEUE_WITH_READ_AHEAD WorkItem = (PWORK_QUEUE_WITH_READ_AHEAD)Context;
|
||||
PNOCC_CACHE_MAP Map = (PNOCC_CACHE_MAP)WorkItem->FileObject->SectionObjectPointer->SharedCacheMap;
|
||||
DPRINT("Reading ahead %08x%08x:%x %wZ\n",
|
||||
DPRINT1("Reading ahead %08x%08x:%x %wZ\n",
|
||||
WorkItem->FileOffset.HighPart,
|
||||
WorkItem->FileOffset.LowPart,
|
||||
WorkItem->Length,
|
||||
|
|
4
reactos/ntoskrnl/cache/fssup.c
vendored
4
reactos/ntoskrnl/cache/fssup.c
vendored
|
@ -12,7 +12,7 @@
|
|||
#include <ntoskrnl.h>
|
||||
#include "newcc.h"
|
||||
#include "section/newmm.h"
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBALS ********************************************************************/
|
||||
|
@ -59,7 +59,7 @@ CcInitializeCacheManager(VOID)
|
|||
|
||||
CcCacheBitmap->Buffer = ((PULONG)&CcCacheBitmap[1]);
|
||||
CcCacheBitmap->SizeOfBitMap = ROUND_UP(CACHE_NUM_SECTIONS, 32);
|
||||
DPRINT("Cache has %d entries\n", CcCacheBitmap->SizeOfBitMap);
|
||||
DPRINT1("Cache has %d entries\n", CcCacheBitmap->SizeOfBitMap);
|
||||
ExInitializeFastMutex(&CcMutex);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue