diff options
author | lloyd <[email protected]> | 2006-09-20 19:11:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-09-20 19:11:18 +0000 |
commit | 7e7f297ce96879d851446008540a5545b2501a3c (patch) | |
tree | e792a2c52a814be8ebe7df864d9c7268898db897 /include | |
parent | 7f1009ae3c52000e6b059d683f7c99bc2ef7eb04 (diff) |
Do not allocate a block of memory in Pooling_Allocator::init(); this was
causing allocators that were never used to allocate (and thus, later
deallocate) memory. This was causing a noticable slowdown when the mmap
based allocator was in used (based on the strace output, this was mostly
due to the calls to msync).
Diffstat (limited to 'include')
-rw-r--r-- | include/mem_pool.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mem_pool.h b/include/mem_pool.h index e365cd29d..0665eac9c 100644 --- a/include/mem_pool.h +++ b/include/mem_pool.h @@ -23,7 +23,6 @@ class Pooling_Allocator : public Allocator void* allocate(u32bit); void deallocate(void*, u32bit); - void init(); void destroy(); Pooling_Allocator(u32bit, bool); |