Page MenuHomeFreeBSD

pf: Virtualise pf_frag_mtx
ClosedPublic

Authored by kp on Apr 19 2020, 5:04 PM.
Tags
None
Referenced Files
F175931100: D24504.diff
Wed, Oct 14, 2:40 PM
Unknown Object (File)
Fri, Oct 9, 3:30 AM
Unknown Object (File)
Fri, Oct 9, 3:30 AM
Unknown Object (File)
Fri, Oct 9, 3:29 AM
Unknown Object (File)
Fri, Oct 9, 3:28 AM
Unknown Object (File)
Fri, Oct 2, 3:25 PM
Unknown Object (File)
Tue, Sep 22, 8:56 AM
Unknown Object (File)
Tue, Sep 22, 1:28 AM

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.