From: Victor Julien Date: Mon, 11 Nov 2019 16:01:12 +0000 (+0100) Subject: threading: shrink threadvars struct size X-Git-Tag: suricata-6.0.0-beta1~797 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0218696ba59d6f1e7ed613e90d6d82c5e4d65cb;p=thirdparty%2Fsuricata.git threading: shrink threadvars struct size --- diff --git a/src/threadvars.h b/src/threadvars.h index 355aab831b..3c468fbb48 100644 --- a/src/threadvars.h +++ b/src/threadvars.h @@ -65,6 +65,8 @@ typedef struct ThreadVars_ { /** TmModule::flags for each module part of this thread */ uint8_t tmm_flags; + uint8_t cap_flags; /**< Flags to indicate the capabilities of all the + TmModules resgitered under this thread */ /** local id */ int id; @@ -114,8 +116,6 @@ typedef struct ThreadVars_ { SCCtrlMutex *ctrl_mutex; SCCtrlCondT *ctrl_cond; - uint8_t cap_flags; /**< Flags to indicate the capabilities of all the - TmModules resgitered under this thread */ struct ThreadVars_ *next; struct ThreadVars_ *prev; } ThreadVars;