[PATCH 09/17] sched/core: Add support for nohz_full CPUs

K Prateek Nayak kprateek.nayak at amd.com
Mon Nov 24 15:36:06 AEDT 2025


Hello Shrikanth,

On 11/21/2025 10:10 AM, Shrikanth Hegde wrote:
>> Wouldn't the task be pinned if it is running on a nohz CPU?
>> We don't push out pinned tasks so this seems unnecessary.
>> Am I missing something?
>>
> 
> No. Task will not be pinned if it running on nohz_full unless
> user has done a taskset. They are still part of sched domains.
> 
> Pinning is usually true for isolcpus. You need to explicity set taskset
> for isolcpus since by default you won't go to those CPUs.

TIL! I was under the impression that nohz_full is a superset of isolcpus
but I was clearly mistaken. Thank you for clarifying.

-- 
Thanks and Regards,
Prateek



More information about the Linuxppc-dev mailing list