# Kernel thread's CPU affinity with isolcpus kernel boot argument

- From: Mathias Koehrer \<hidden\>
- Date: 2016-01-15 11:15:33 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2016/01/16485826
- Thread: https://ratatoskr.run/linux-rt-users/2016/01/16485826/t.md

```text
Hi all,

we use an Intel Core i7 machine (64bit) to use the cores > 0 for real time tasks.

For this the kernel boot parameter “isolcpus=1-31” is provided.
That works fine for all user space tasks.

However, I noticed that most kernel threads use the affinity mask 0xff.
I can change this by using “taskset”. However, I am wondering if there is mechanism that forces the kernel to consider the value of “isolcpus” also for kernel threads.

Kernel version in use is: 3.18.20-rt18.

Thanks for any feedback on this.

Best regards

Mathias


--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
