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
F153759263: D28158.diff
Thu, Apr 23, 12:06 PM
F153693354: D28158.diff
Wed, Apr 22, 11:44 PM
Unknown Object (File)
Sat, Apr 18, 4:45 PM
Unknown Object (File)
Sat, Apr 11, 11:36 PM
Unknown Object (File)
Wed, Apr 8, 2:10 PM
Unknown Object (File)
Wed, Apr 8, 8:36 AM
Unknown Object (File)
Tue, Apr 7, 4:16 PM
Unknown Object (File)
Mon, Apr 6, 7:55 AM
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