From 9eb0ccbb54a2c9c924a696935993278635815c86 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Mon, 24 Oct 2016 13:44:24 +0000 Subject: [PATCH] Increase CACHE_LINE_SHIFT to 7 as cache lines are 128 bytes on ThunderX. MFC after: 1 week Sponsored by: ABT Systems Ltd --- sys/arm64/include/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/include/param.h b/sys/arm64/include/param.h index d4d49554ebd..69e2c081791 100644 --- a/sys/arm64/include/param.h +++ b/sys/arm64/include/param.h @@ -77,7 +77,7 @@ * CACHE_LINE_SIZE is the compile-time maximum cache line size for an * architecture. It should be used with appropriate caution. */ -#define CACHE_LINE_SHIFT 6 +#define CACHE_LINE_SHIFT 7 #define CACHE_LINE_SIZE (1 << CACHE_LINE_SHIFT) #define PAGE_SHIFT 12 -- 2.45.0