1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

memory: fix hugepage size

This commit is contained in:
Steffen Vogel 2018-08-17 11:28:34 +02:00
parent ca9caa8547
commit 1783008ff8

View file

@ -41,7 +41,7 @@
#include <villas/utils.h>
#include <villas/kernel/kernel.h>
#define HUGEPAGESIZE (1 << 22) /* 2 MiB */
#define HUGEPAGESIZE (1 << 21) /* 2 MiB */
/** Allocate memory backed by hugepages with malloc() like interface */
static struct memory_allocation * memory_hugepage_alloc(struct memory_type *m, size_t len, size_t alignment)