aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc/alloc_mmap
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-15 22:28:02 +0000
committerlloyd <[email protected]>2010-06-15 22:28:02 +0000
commit7dbef9e3e2efd2354bb4ca97fca0d720a8957db4 (patch)
treee6d563d6658a93ba5caffcf8975a065d98ca6c38 /src/alloc/alloc_mmap
parent416695f7363c4e93eaeaea23427a1fed3ad73cab (diff)
More Doxygen fixes
Diffstat (limited to 'src/alloc/alloc_mmap')
-rw-r--r--src/alloc/alloc_mmap/mmap_mem.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/alloc/alloc_mmap/mmap_mem.h b/src/alloc/alloc_mmap/mmap_mem.h
index da3dda31d..be1d06cff 100644
--- a/src/alloc/alloc_mmap/mmap_mem.h
+++ b/src/alloc/alloc_mmap/mmap_mem.h
@@ -12,8 +12,11 @@
namespace Botan {
-/*
-* Memory Mapping Allocator
+/**
+* Allocator that uses memory maps backed by disk. We zeroize the map
+* upon deallocation. If swap occurs, the VM will swap to the shared
+* file backing rather than to a swap device, which means we know where
+* it is and can zap it later.
*/
class MemoryMapping_Allocator : public Pooling_Allocator
{