Page MenuHomeFreeBSD

pf: Use counter_u64 for pf_state byte/packet tracking
ClosedPublic

Authored by kp on Dec 17 2020, 9:14 PM.

Details

Summary

This improves cache behaviour by not writing to the same variable from
multiple cores simultaneously.

pf_state is only used in the kernel, so can be safely modified.

MFC after: 1 week
Sponsed by: Orange Business Services

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 35497
Build 32402: arc lint + arc unit