Deal with POWER5+ 256B L3 cachefalse sharing for per thread lock
[urcu.git] / test_rwlock.c
index 915027db2423df113e7e6a85add6079a257fcb91..733263be628be26b443678eb7d5ec5d687082952 100644 (file)
@@ -35,6 +35,9 @@
 
 #include "arch.h"
 
+/* Make this big enough to include the POWER5+ L3 cacheline size of 256B */
+#define CACHE_LINE_SIZE 4096
+
 #if defined(_syscall0)
 _syscall0(pid_t, gettid)
 #elif defined(__NR_gettid)
This page took 0.022208 seconds and 4 git commands to generate.