Page MenuHomeFreeBSD

pf: Use counter_u64 for pf_state byte/packet tracking
ClosedPublic

Authored by kp on Dec 17 2020, 9:14 PM.
Tags
None
Referenced Files
F82658549: D27661.id80865.diff
Wed, May 1, 7:04 AM
Unknown Object (File)
Sun, Apr 28, 4:51 AM
Unknown Object (File)
Sun, Apr 21, 7:28 PM
Unknown Object (File)
Sat, Apr 20, 11:14 AM
Unknown Object (File)
Sat, Apr 20, 11:14 AM
Unknown Object (File)
Thu, Apr 18, 5:13 AM
Unknown Object (File)
Wed, Apr 17, 1:43 PM
Unknown Object (File)
Feb 15 2024, 2:25 AM

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 Passed
Unit
No Test Coverage
Build Status
Buildable 35497
Build 32402: arc lint + arc unit