Justus Winter, le Tue 07 Jan 2014 15:51:27 +0100, a écrit :
* include/cache.h (__cacheline_aligned): This macro can be used to
align statically allocated objects so that they start at a cache line.
Ack. You could already use it in kern/slab.h
---
include/cache.h | 25
Justus Winter 4win...@informatik.uni-hamburg.de writes:
Date: Tue, 7 Jan 2014 15:51:27 +0100
[…]
--- /dev/null
+++ b/include/cache.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2013 Free Software Foundation.
… Which makes me wonder if the boilerplate has to be updated.
[…]
On Thu, 09 Jan 2014 01:30:42 +, Ivan Shmakov i...@siamics.net wrote:
Justus Winter 4win...@informatik.uni-hamburg.de writes:
Date: Tue, 7 Jan 2014 15:51:27 +0100
[…]
--- /dev/null
+++ b/include/cache.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2013 Free Software
* include/cache.h (__cacheline_aligned): This macro can be used to
align statically allocated objects so that they start at a cache line.
---
include/cache.h | 25 +
1 file changed, 25 insertions(+)
create mode 100644 include/cache.h
diff --git a/include/cache.h