From 5e61f5b601de17201b6e4f6615a07a30be75eea1 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Fri, 27 Jun 2003 21:35:05 +0000 Subject: [PATCH] - Disabled TAG_STATISTICS_TRACKING. svn path=/trunk/; revision=4984 --- reactos/ntoskrnl/mm/npool.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/npool.c b/reactos/ntoskrnl/mm/npool.c index b31d98b0517..8986e616ad7 100644 --- a/reactos/ntoskrnl/mm/npool.c +++ b/reactos/ntoskrnl/mm/npool.c @@ -1,4 +1,4 @@ -/* $Id: npool.c,v 1.65 2003/01/11 15:48:33 hbirr Exp $ +/* $Id: npool.c,v 1.66 2003/06/27 21:35:05 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -28,7 +28,7 @@ //#define ENABLE_VALIDATE_POOL /* Enable tracking of statistics about the tagged blocks in the pool */ -#define TAG_STATISTICS_TRACKING +//#define TAG_STATISTICS_TRACKING /* * Put each block in its own range of pages and position the block at the @@ -227,7 +227,9 @@ ExInitNonPagedPool(ULONG BaseAddress) kernel_pool_base = BaseAddress; KeInitializeSpinLock(&MmNpoolLock); MmInitKernelMap((PVOID)BaseAddress); +#ifdef TAG_STATISTICS_TRACKING memset(tag_hash_table, 0, sizeof(tag_hash_table)); +#endif InitializeListHead(&FreeBlockListHead); InitializeListHead(&UsedBlockListHead); }