Page MenuHomeFreeBSD

pf: Virtualise pf_frag_mtx
ClosedPublic

Authored by kp on Apr 19 2020, 5:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 12, 5:36 PM
Unknown Object (File)
Wed, Sep 9, 9:48 PM
Unknown Object (File)
Sun, Sep 6, 8:00 PM
Unknown Object (File)
Sat, Sep 5, 5:43 PM
Unknown Object (File)
Sat, Sep 5, 5:43 PM
Unknown Object (File)
Fri, Sep 4, 6:38 PM
Unknown Object (File)
Fri, Sep 4, 1:41 PM
Unknown Object (File)
Thu, Sep 3, 12:36 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.