Make sure StatsPublicThreadContext is on its own cache line.
/** private counter store: counter updates modify this */
StatsPrivateThreadContext perf_private_ctx;
+ /** pointer to the next thread */
+ struct ThreadVars_ *next;
+
/** public counter store: counter syncs update this */
StatsPublicThreadContext perf_public_ctx;
SCCtrlMutex *ctrl_mutex;
SCCtrlCondT *ctrl_cond;
- /** pointer to the next thread */
- struct ThreadVars_ *next;
-
} ThreadVars;
/** Thread setup flags: */