Date: Thu, 27 May 2021 15:20:47 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255997] fpu_kern_thread is called before fpu_initialstate has been set in ktls_kern_thread Message-ID: <bug-255997-227-fLYn1D8R4h@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-255997-227@https.bugs.freebsd.org/bugzilla/> References: <bug-255997-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255997 John Baldwin <jhb@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from John Baldwin <jhb@FreeBSD.org> --- The issue is that fpuinitstate SYSINIT runs at SI_SUB_DRIVERS. On the one = hand I'd probably like to defer creation of the KTLS thread pool until the first use, but the immediate fix is probably to init fpuinitstate earlier. I'm n= ot sure why we don't do that in something like SI_SUB_CPU? However, I'm curious how you are managing to get the KTLS threads to try to= use the FPU prior to SI_SUB_DRIVERS since they will only do crypto work in afte= r a userland call to setsockopt() post boot to enable KTLS on a socket. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255997-227-fLYn1D8R4h>