sched,arm64: Handle CPU isolation on last resort fallback rq selection
When a kthread or any other task has an affinity mask that is fully offline or unallowed, the scheduler reaffines the task to all possible CPUs as a last resort. This default decision doesn't mix up very well with nohz_full CPUs that are part of the possible cpumask but don't want to be disturbed by unbound kthreads or even detached pinned user tasks. Make the fallback affinity setting aware of nohz_full. Suggested-by:Michal Hocko <mhocko@suse.com> Acked-by:
Will Deacon <will@kernel.org> Signed-off-by:
Frederic Weisbecker <frederic@kernel.org>
Loading
Please register or sign in to comment