Project

General

Profile

Actions

Task #8078

open

Task #2693: tracking: libsuricata

Task #4682: tracking: clean up globals and thread locals

threading: don't use thread local for packet pool

Added by Jason Ish about 7 hours ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

Currently, thread locals are used for the packet pool. This would break engine isolation if multiple distinct engines were to be created in the same process space.

Converting the "fast" path to a packet pool stored on the ThreadVars is not hard, however, the optimization for cross-thread returns does make use of thread local to prevent needing to lock on every non-local return, but instead batching then locking to move multiple packets back their thread pool at once

No data to display

Actions

Also available in: Atom PDF