* Added optional paranoid checking of the slab memory manager meta chunks
after each chunk allocation/deallocation. * The commands that dump chunks also verify, whether chunks that look free are in the free list. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37360 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -101,6 +101,9 @@
|
||||
// Use the slab allocator as generic memory allocator (malloc()/free()).
|
||||
#define USE_SLAB_ALLOCATOR_FOR_MALLOC 1
|
||||
|
||||
// Enables additional sanity checks in the slab allocator's memory manager.
|
||||
#define DEBUG_SLAB_MEMORY_MANAGER_PARANOID_CHECKS 0
|
||||
|
||||
// When set limits the amount of available RAM (in MB).
|
||||
//#define LIMIT_AVAILABLE_MEMORY 256
|
||||
|
||||
|
||||
Reference in New Issue
Block a user