[ros-dev] [Fwd: [Fwd: [ros-svn] [hbirr] 13963: Lock the kernel
address space - Bug 512 updated]
Hartmut Birr
hartmut.birr at gmx.de
Sun Mar 13 13:04:02 CET 2005
Hi,
I seems that the non paged pool is out. Can you enable some debug
messages for the non paged pool?
- Hartmut
-------------- next part --------------
M:\Sandbox\ros_clean\reactos>set SVN_EDITOR=notepad
M:\Sandbox\ros_clean\reactos>d:\programme\subversion\bin\svn.exe diff ntoskrnl
Index: ntoskrnl/include/config.h
===================================================================
--- ntoskrnl/include/config.h (revision 14004)
+++ ntoskrnl/include/config.h (working copy)
@@ -19,7 +19,7 @@
#undef ENABLE_VALIDATE_POOL
/* Enable tracking of statistics about the tagged blocks in the pool */
-#undef TAG_STATISTICS_TRACKING
+#define TAG_STATISTICS_TRACKING
/*
* Put each block in its own range of pages and position the block at the
Index: ntoskrnl/mm/npool.c
===================================================================
--- ntoskrnl/mm/npool.c (revision 14004)
+++ ntoskrnl/mm/npool.c (working copy)
@@ -1579,7 +1579,7 @@
VALIDATE_POOL;
-#if 0
+#if 1
/* after some allocations print the npaged pool stats */
#ifdef TAG_STATISTICS_TRACKING
Index: ntoskrnl/mm/pool.c
===================================================================
--- ntoskrnl/mm/pool.c (revision 14004)
+++ ntoskrnl/mm/pool.c (working copy)
@@ -101,7 +101,7 @@
Block = EiAllocatePool(PoolType,
NumberOfBytes,
- TAG_NONE,
+ /*TAG_NONE*/__builtin_return_address(0),
(PVOID)__builtin_return_address(0));
#elif defined(_MSC_VER)
More information about the Ros-dev
mailing list