mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Disable pool debug settings on a retail build and increase speed
svn path=/trunk/; revision=15510
This commit is contained in:
parent
c013c83354
commit
be4adc56e9
1 changed files with 22 additions and 10 deletions
|
@ -15,18 +15,30 @@
|
|||
|
||||
/********** mm/ppool.c **********/
|
||||
|
||||
/* Enable strict checking of the nonpaged pool on every allocation */
|
||||
#undef ENABLE_VALIDATE_POOL
|
||||
/* Disable Debugging Features */
|
||||
#ifndef DBG
|
||||
/* Enable strict checking of the nonpaged pool on every allocation */
|
||||
#undef ENABLE_VALIDATE_POOL
|
||||
|
||||
/* Enable tracking of statistics about the tagged blocks in the pool */
|
||||
#undef TAG_STATISTICS_TRACKING
|
||||
/* Enable tracking of statistics about the tagged blocks in the pool */
|
||||
#undef TAG_STATISTICS_TRACKING
|
||||
|
||||
/* Enable Memory Debugging Features/Helpers */
|
||||
#undef POOL_DEBUG_APIS
|
||||
|
||||
/* Enable Redzone */
|
||||
#define R_RZ 0
|
||||
|
||||
/* Enable Allocator Stack */
|
||||
#define R_STACK 0
|
||||
|
||||
/*
|
||||
* Put each block in its own range of pages and position the block at the
|
||||
* end of the range so any accesses beyond the end of block are to invalid
|
||||
* memory locations.
|
||||
*/
|
||||
#undef WHOLE_PAGE_ALLOCATIONS
|
||||
/*
|
||||
* Put each block in its own range of pages and position the block at the
|
||||
* end of the range so any accesses beyond the end of block are to invalid
|
||||
* memory locations.
|
||||
*/
|
||||
#undef WHOLE_PAGE_ALLOCATIONS
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NTOSKRNL_CONFIG_H */
|
||||
|
||||
|
|
Loading…
Reference in a new issue