aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-11-20 10:06:58 +0000
committerlloyd <[email protected]>2013-11-20 10:06:58 +0000
commit3293afe9c3a1cd26c81070e6c477554db4100da1 (patch)
tree82f047ecbd4610e3f798a7ff9720b4a24d11520a /src/build-data/buildh.in
parentf0e34d0262b708c9b8bb3e57096aa9c2acebb2cf (diff)
Only service small allocations out of the mlock pool
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r--src/build-data/buildh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index faafb1ecd..81df9a32e 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -30,6 +30,9 @@
/* How much to allocate for a buffer of no particular size */
#define BOTAN_DEFAULT_BUFFER_SIZE 1024
+/* Maximum size to allocate out of the mlock pool */
+#define BOTAN_MLOCK_ALLOCATOR_MAX_ALLOCATION 4096
+
/* Multiplier on a block cipher's native parallelism */
#define BOTAN_BLOCK_CIPHER_PAR_MULT 4