HomeFreeBSD

bhyve: Tidy vCPU pthread startup.

Description

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

Details

Provenance
jhbAuthored on Dec 21 2022, 6:33 PM
Reviewer
corvink
Differential Revision
D37646: bhyve: Tidy vCPU pthread startup.
Parents
rG8487443792ce: bhyve: Don't access vcpumap[vcpu] directly in parse_cpuset().
Branches
Unknown
Tags
Unknown