Align strucutres with pthread mutex locks to start on cachelines to keep
the lock within one cacheline.
SCMutex mutex_q;
SCCondT cond_q;
-} SCDQDataQueue;
+} __attribute__((aligned(CLS))) SCDQDataQueue;
void SCDQDataEnqueue(SCDQDataQueue *, SCDQGenericQData *);
SCDQGenericQData *SCDQDataDequeue(SCDQDataQueue *);
#else
#error Enable FBLOCK_SPIN or FBLOCK_MUTEX
#endif
-} FlowBucket;
+} __attribute__((aligned(CLS))) FlowBucket;
#ifdef FBLOCK_SPIN
#define FBLOCK_INIT(fb) SCSpinInit(&(fb)->s, 0)
HRLOCK_TYPE lock;
Host *head;
Host *tail;
-} HostHashRow;
+} __attribute__((aligned(CLS))) HostHashRow;
/** host hash table */
HostHashRow *host_hash;