Page MenuHomeFreeBSD

pf: Virtualise pf_frag_mtx
ClosedPublic

Authored by kp on Apr 19 2020, 5:04 PM.
Tags
None
Referenced Files
F131802657: D24504.id70784.diff
Sat, Oct 11, 7:08 AM
Unknown Object (File)
Thu, Oct 9, 1:00 AM
Unknown Object (File)
Mon, Oct 6, 2:43 AM
Unknown Object (File)
Sun, Sep 14, 6:43 PM
Unknown Object (File)
Thu, Sep 11, 3:49 PM
Unknown Object (File)
Aug 17 2025, 8:43 PM
Unknown Object (File)
Aug 17 2025, 4:08 AM
Unknown Object (File)
Aug 14 2025, 10:16 PM

Details

Reviewers
None
Group Reviewers
network
Commits
rS360347: pf: Virtualise pf_frag_mtx
Summary

The pf_frag_mtx mutex protects the fragments queue. The fragments queue
is virtualised already (i.e. per-vnet) so it makes no sense to block
jail A from accessing its fragments queue while jail B is accessing its
own fragments queue.

Virtualise the lock for improved concurrency.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Apr 26 2020, 4:30 PM
Closed by commit rS360347: pf: Virtualise pf_frag_mtx (authored by kp). · Explain Why
This revision was automatically updated to reflect the committed changes.