summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-09-24 12:47:12 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-09-24 12:47:12 +0200
commit2ad5aece26e93662c77007971b5ddcaf28af553f (patch)
tree3210cf2dfe75e67b722b0c5b42333c42795ede11
parentc3df367bd34d11dc4b605d3721dbe234bd4e9f32 (diff)
libddekit: fix cache line size
* libddekit/memory.c (CACHE_LINE_SIZE): The cache line size is 64 bytes on contemporary processors. This value is used as alignment constraint, so this is also the more conservative value.
-rw-r--r--libddekit/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libddekit/memory.c b/libddekit/memory.c
index 34b283b3..6602ea37 100644
--- a/libddekit/memory.c
+++ b/libddekit/memory.c
@@ -25,7 +25,7 @@
#include "ddekit/panic.h"
#include "ddekit/pgtab.h"
-#define CACHE_LINE_SIZE 32
+#define CACHE_LINE_SIZE 64
/****************
** Page cache **