How to bind a thread to a CPU?

Stefan Andritoiu stefan.andritoiu at gmail.com
Sat Jun 13 10:33:43 UTC 2015


Hi,

How can I pin a thread to run only on a specific CPU?
Is it enough just to set the "struct cpuset *td_cpuset" of the thread?

Thank you,
Stefan


More information about the freebsd-virtualization mailing list