Allocate iovec arrays and struct cryptop and struct ocf_operation
objects on the stack to reduce avoid the overhead of malloc().
These structures are all small enough to fit on the stack of the KTLS
worker threads.
Differential D25692
Don't dynamically allocate data structures for KTLS crypto requests. jhb on Jul 16 2020, 6:46 PM. Authored by Tags None Referenced Files
Subscribers
Details Allocate iovec arrays and struct cryptop and struct ocf_operation These structures are all small enough to fit on the stack of the KTLS
Diff Detail
|