Page MenuHomeFreeBSD

Fix locking for the bpf TX path
Needs ReviewPublic

Authored by melifaro on Mar 31 2018, 8:28 PM.

Details

Reviewers
ae
kristof
emaste
Summary

The fix consists of splitting bpfwrite() into smaller chunks, reordered to optimize locking access.
Additionally, per-descriptor BPF lock was converted to rwlock.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 15912
Build 15904: arc lint + arc unit

Event Timeline

melifaro created this revision.Mar 31 2018, 8:28 PM
melifaro retitled this revision from Fix locking for the bpf TX path. The fix consistes of splitting bpfwrite() into smaller chunks, reordered to optimize locking access. Additionally, per-descriptor BPF lock was converted to rwlock. to Fix locking for the bpf TX path.Mar 31 2018, 11:39 PM
melifaro edited the summary of this revision. (Show Details)

What problem does this fix?