HomeFreeBSD

ktls: Defer creation of threads and zones until first use.

Description

ktls: Defer creation of threads and zones until first use.

Run ktls_init() when the first KTLS session is created rather than
unconditionally during boot. This avoids creating unused threads and
allocating unused resources on systems which do not use KTLS.

Reviewed by: gallatin, markj
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D32487

Details

Provenance
jhbAuthored on Oct 14 2021, 10:48 PM
Reviewer
gallatin
Differential Revision
D32487: ktls: Defer creation of threads and zones until first use.
Parents
rG86929782cfab: Fix typo in comment
Branches
Unknown
Tags
Unknown