]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Tidy vCPU pthread startup.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 21 Dec 2022 18:33:18 +0000 (10:33 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 26 Jan 2023 22:18:20 +0000 (14:18 -0800)
commit3dcdb83c85b5fb65ba9e826efcb7bb34091d80da
treebe18885e435f72599d622fb60cc6ef987d3aad3f
parentbec53b3650629dd523f6a9cdacbcdd9ea47aa2b1
bhyve: Tidy vCPU pthread startup.

Set the thread affinity in fbsdrun_start_thread next to where the
thread name is set.  This keeps all the pthread initialization
operations at the start of a thread in one place.

Reviewed by: corvink, markj
Differential Revision: https://reviews.freebsd.org/D37646

(cherry picked from commit 7224a96a55d512e00f390d4477e0fb0a163d7528)
usr.sbin/bhyve/bhyverun.c