mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
Vendored
+2
-2
@@ -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,
|
||||
|
||||
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user