inliniac/suricata — pull request #622 by ken-tilera (2013-11-12 22:12:57+00:00)
Title: Allocate mPIPE packet ingress queue in each worker thread.

Move the allocation of the mPipe ingress queue from a loop over
the number of workers in the main init function to being done inside
each worker thread. This allows allocating the memory locally on the
worker's CPU without needing to figure out ahead of time where that thread
will be running. This fixes one case of static mapping of workers to CPUs.

Use __thread to hold the queue rather than a global tables of queues

This only affects Tilera code.

https://buildbot.suricata-ids.org/builders/ken-tilera/builds/45