[Question] Include isolated cpu to ensure that tasks are not scheduled to isolated cpu?

From: zhengzucheng
Date: Sun Sep 01 2024 - 21:57:09 EST


In a cpuset subsystem, cpuset.cpus contains isolated cpu and non-isolated cpu.
Is there any way to ensure that the task runs only on the non-isolated cpus?
eg:
isolcpus=1, cpusete.cpus=0-7. It is found that some tasks are scheduled to cpu1.

In addition, task run on isolated cpu cann't be scheduled to other cpu in the future.


Thanks!