Date: Sat, 13 Jun 2015 13:33:42 +0300 From: Stefan Andritoiu <stefan.andritoiu@gmail.com> To: freebsd-virtualization@freebsd.org Subject: How to bind a thread to a CPU? Message-ID: <CAO3d8=b1dZU%2BfEi-r0P=WRMZ=rOF0D7WbGepsZ4Oe5q3eUrrLg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO3d8=b1dZU%2BfEi-r0P=WRMZ=rOF0D7WbGepsZ4Oe5q3eUrrLg>