]> git.ipfire.org Git - thirdparty/suricata.git/commit
Only update mPipe stats occasionally around the packet loop.
authorKen Steele <ken@tilera.com>
Fri, 21 Feb 2014 21:03:57 +0000 (16:03 -0500)
committerVictor Julien <victor@inliniac.net>
Wed, 26 Feb 2014 11:06:35 +0000 (12:06 +0100)
commite381af98dd2fd1699e6c88bdee4dea00367dbe96
tree303d772b4bb9d320764d45eefaba2c0089e1e4c0
parent3c9a135c0f2cab5df1942f0e52d206d4f7ed1e1f
Only update mPipe stats occasionally around the packet loop.

Check for termination or stats update only once every 10,000 times
around the mPipe packet processing loop, to reduce locking.
src/source-mpipe.c