Page MenuHomeFreeBSD

pf: Virtualise pf_frag_mtx
ClosedPublic

Authored by kp on Apr 19 2020, 5:04 PM.
Tags
None
Referenced Files
F132249578: D24504.id70784.diff
Wed, Oct 15, 4:40 AM
Unknown Object (File)
Sat, Oct 11, 11:50 PM
Unknown Object (File)
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)
Sep 14 2025, 6:43 PM
Unknown Object (File)
Sep 11 2025, 3:49 PM
Unknown Object (File)
Aug 17 2025, 8:43 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.