]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
pool thread: undo CLS alignment
authorVictor Julien <victor@inliniac.net>
Tue, 14 Jan 2014 12:03:43 +0000 (13:03 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 14 Jan 2014 12:03:43 +0000 (13:03 +0100)
This breaks clang on 32bit.

Test PoolThreadTestGrow01                                         : process killed by signal 11

src/util-pool-thread.h

index c1704ce977fb8dc4fc34412f9a96784b264aed90..1d2bbd47ff82b994fea5fe2cd2c4761d0dd9aab2 100644 (file)
@@ -42,7 +42,8 @@
 struct PoolThreadElement_ {
     SCMutex lock;                   /**< lock, should have low contention */
     Pool *pool;                     /**< actual pool */
-} __attribute__((aligned(CLS)));
+};
+// __attribute__((aligned(CLS))); <- VJ: breaks on clang 32bit, segv in PoolThreadTestGrow01
 
 typedef struct PoolThreadElement_ PoolThreadElement;