summaryrefslogtreecommitdiff
path: root/src/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-10-25 21:58:21 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-10-26 08:52:31 +0200
commit96682a8284cc234207d2ba6a60b8f9939c17834f (patch)
tree98b523a2f05e0f5777a177bddc1926a7658244fc /src/lib/CMakeLists.txt
parent991470de0c7b59c69dd2de8110ba1ddef042a473 (diff)
downloadouroboros-96682a8284cc234207d2ba6a60b8f9939c17834f.tar.gz
ouroboros-96682a8284cc234207d2ba6a60b8f9939c17834f.zip
lib: Revise du buff API towards a memory allocator
This changes the API to the rdrbuff to treat it as a pool memory allocator. The head and tailspace to allocate in a buffer is now set system-wide instead of being passed as a parameter. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/lib/CMakeLists.txt')
-rw-r--r--src/lib/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index 42164fac..c18860a4 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -147,9 +147,9 @@ set(PROG_RES_FDS 64 CACHE STRING
"Number of reserved flow descriptors per application")
set(PROG_MAX_FQUEUES 32 CACHE STRING
"Maximum number of flow sets per application")
-set(DU_BUFF_HEADSPACE 128 CACHE STRING
+set(DU_BUFF_HEADSPACE 256 CACHE STRING
"Bytes of headspace to reserve for future headers")
-set(DU_BUFF_TAILSPACE 16 CACHE STRING
+set(DU_BUFF_TAILSPACE 32 CACHE STRING
"Bytes of tailspace to reserve for future tails")
if (NOT APPLE)
set(PTHREAD_COND_CLOCK "CLOCK_MONOTONIC" CACHE STRING