HomeFreeBSD

siftr: refactor batch log processing

Description

siftr: refactor batch log processing

Refactoring to perform the batch processing of
log messaged in two phases. First cycling through a limited
number of collected packets, and only thereafter freeing
the processed packets. This prevents any chance of calling
free while in a critical / spinlocked section.

Reviewed By: tuexen
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D42949

Details

Provenance
rscheffAuthored on Dec 7 2023, 1:43 PM
Reviewer
tuexen
Differential Revision
D42949: siftr: refactor batch log processing
Parents
rGbd7b2f95019e: vnet: (read) lock the vnet list while iterating it
Branches
Unknown
Tags
Unknown