Add flag option to not align allocations

This commit is contained in:
2024-01-15 16:32:19 +01:00
parent 6e0e6f7437
commit 0af6582a64
3 changed files with 45 additions and 15 deletions

6
include/knob.h Normal file
View File

@@ -0,0 +1,6 @@
#pragma once
#define KNOB_MMAP_SIZE (1UL << 40UL)
#define KNOB_ALIGNMENT (sizeof(char*))