inliniac/suricata — pull request #783 by song-liu (2014-01-18 04:03:03+00:00)
Title: [Bug #1038][optimization] Flow Queue should be a stack.

The unallocated flows are stored as a queue. It would be better to store them on a stack, so that recently freed flows are used more recently than older flows.
That way they are more likely to still be in cache.