Page MenuHomeFreeBSD

opencrypto: Embed the driver softc in the session structure
ClosedPublic

Authored by markj on Jan 14 2021, 4:35 PM.
Tags
None
Referenced Files
F102545291: D28158.diff
Wed, Nov 13, 9:08 PM
Unknown Object (File)
Fri, Oct 18, 1:26 PM
Unknown Object (File)
Oct 6 2024, 5:49 AM
Unknown Object (File)
Oct 3 2024, 6:20 AM
Unknown Object (File)
Oct 3 2024, 4:02 AM
Unknown Object (File)
Sep 26 2024, 8:02 PM
Unknown Object (File)
Sep 26 2024, 4:05 PM
Unknown Object (File)
Sep 24 2024, 6:20 PM
Subscribers

Details

Summary

Get rid of the crypto session UMA zone. I do not think session
allocations are frequent or performance-critical enough to warrant a
dedicated zone.

Store the driver softc below the fields owned by opencrypto. This is
a bit simpler and saves a pointer dereference when fetching the driver
softc when processing a request.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 36201
Build 33090: arc lint + arc unit

Event Timeline

markj requested review of this revision.Jan 14 2021, 4:35 PM

Sure, seems fine to me.

This revision is now accepted and ready to land.Jan 14 2021, 5:08 PM