<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den tors 18 juli 2019 kl 08:56 skrev Roman Mamedov <<a href="mailto:rm@romanrm.net">rm@romanrm.net</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 18 Jul 2019 08:38:54 +0200<br>
Janne Johansson <<a href="mailto:icepic.dz@gmail.com" target="_blank">icepic.dz@gmail.com</a>> wrote:<br>
<br>
> With taskset you should be able to:<br>
> <a href="https://www.howtoforge.com/linux-taskset-command/" rel="noreferrer" target="_blank">https://www.howtoforge.com/linux-taskset-command/</a><br>
<br>
It appears "taskset" only works on regular programs, not kernel threads:<br>
<br>
# taskset -p -c 1 2128<br>
pid 2128's current affinity list: 0<br>
taskset: failed to set pid 2128's affinity: Invalid argument<br>
<br>
# taskset -p -c 1 2129<br>
pid 2129's current affinity list: 1<br>
taskset: failed to set pid 2129's affinity: Invalid argument<br>
<br>
As the above shows, WG threads are already bound to a particular CPU and this<br>
can't be changed.<br></blockquote><div><br></div><div>Right, my bad. </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">May the most significant bit of your life be positive.<br></div></div>