Skip to content
Commit 3a544661 authored by Frederic Weisbecker's avatar Frederic Weisbecker
Browse files

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: default avatarMichal Hocko <mhocko@suse.com>
Acked-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
parent 4a1567b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment