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
Unknown Object (File)
Sat, Mar 8, 10:33 AM
Unknown Object (File)
Sat, Mar 8, 5:35 AM
Unknown Object (File)
Tue, Mar 4, 12:54 PM
Unknown Object (File)
Feb 26 2025, 5:50 AM
Unknown Object (File)
Feb 21 2025, 4:12 AM
Unknown Object (File)
Feb 13 2025, 4:44 PM
Unknown Object (File)
Feb 12 2025, 11:52 AM
Unknown Object (File)
Feb 6 2025, 6:45 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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