Page MenuHomeFreeBSD

pf: Virtualise pf_frag_mtx
ClosedPublic

Authored by kp on Apr 19 2020, 5:04 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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.