From 482be0ebbbc93c7d39ca356009ee8a9ea8aa8823 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 6 May 2015 11:50:38 +0200 Subject: [PATCH] align on cacheline granularity --- server/include/msg_format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/include/msg_format.h b/server/include/msg_format.h index 13338768d..34a3efa67 100644 --- a/server/include/msg_format.h +++ b/server/include/msg_format.h @@ -81,6 +81,6 @@ struct msg float f; /**< Floating point values (note msg::endian) */ uint32_t i; /**< Integer values (note msg::endian) */ } data[MSG_VALUES]; -} __attribute__((aligned(4), packed)); +} __attribute__((aligned(64), packed)); #endif /* _MSG_FORMAT_H_ */