]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: optimize struct layout
authorVictor Julien <vjulien@oisf.net>
Tue, 26 Sep 2023 08:10:14 +0000 (10:10 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 7 Dec 2023 08:56:59 +0000 (09:56 +0100)
commit0014077a369328f111a6600b412b753866e4b1e4
tree062f787b8d5dbcf3e75687b799229415532e097f
parent53591702aadd0e38fc582cd05571ac2fc313568e
detect: optimize struct layout

Move reference count to top of DetectEngineThreadCtx, to move it to the
same cache line as the other members that are checked first in Detect().
src/detect.h