Date: Mon, 30 Oct 2023 12:09:00 +0800 From: Zhenlei Huang <zlei@FreeBSD.org> To: Gordon Bergling <gbe@freebsd.org> Cc: FreeBSD Current <current@freebsd.org>, John Baldwin <jhb@FreeBSD.org> Subject: Re: KTLS thread on 14.0-RC3 Message-ID: <F6D87896-038C-4152-AFBD-68B0DDC71801@FreeBSD.org> In-Reply-To: <ZT4pKpw35P-J-Q_T@bastion.ttyv0.de> References: <ZT4pKpw35P-J-Q_T@bastion.ttyv0.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Oct 29, 2023, at 5:43 PM, Gordon Bergling <gbe@freebsd.org> wrote: >=20 > Hi, >=20 > I am currently building a new system, which should be based on = 14.0-RELEASE. > Therefor I am tracking releng/14.0 since its creation and updating it = currently > via the usualy buildworld steps. >=20 > What I have noticed recently is, that the [KTLS] is missing. I have a = stable/13 > system which shows the [KTLS] thread and a very recent -CURRENT that = also shows > the [KTLS] thread. >=20 > The stable/13 and releng/14.0 systems both use the GENERIC kernel, = without any > custom modifications. >=20 > Loaded KLDs are also the same. >=20 > Did I miss something, or is there something in releng/14.0 missing, = which > is currenlty enabled in stable/13? KTLS shall still work as intended, the creation of it threads is = deferred. See a72ee355646c (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. ``` -SYSINIT(ktls, SI_SUB_SMP + 1, SI_ORDER_ANY, ktls_init, NULL); ``` >=20 > Any help for getting an insight on this would be much appreciated. >=20 > --Gordon Best regards, Zhenlei
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F6D87896-038C-4152-AFBD-68B0DDC71801>