From ed3ecaae0dfbc120a2f8ccbf255a5ea8f163ec0e Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 22 May 2012 14:20:26 +0000 Subject: Remove a debug call in secmem.h. Add a new mlock allocator which is far superior to the previous one both in terms of behavior (will lock exactly as much memory as we can actually mlock and will fall back to new/delete in all other cases), and much better and much simpler freelist than the old mem_pool code. Currently we only support systems with mmap+mlock, however it should be easy to extend to also support Windows VirtualLock if desired. --- src/alloc/locking_allocator/info.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/alloc/locking_allocator/info.txt (limited to 'src/alloc/locking_allocator/info.txt') diff --git a/src/alloc/locking_allocator/info.txt b/src/alloc/locking_allocator/info.txt new file mode 100644 index 000000000..34877e6bd --- /dev/null +++ b/src/alloc/locking_allocator/info.txt @@ -0,0 +1 @@ +define LOCKING_ALLOCATOR -- cgit v1.2.3