Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sched: Switch the fallback task allowed cpumask to HK_TYPE_DOMAIN

Tasks that have all their allowed CPUs offline don't want their affinity
to fallback on either nohz_full CPUs or on domain isolated CPUs. And
since nohz_full implies domain isolation, checking the latter is enough
to verify both.

Therefore exclude domain isolation from fallback task affinity.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Acked-by: Waiman Long <longman@redhat.com>
Cc: Marco Crivellari <marco.crivellari@suse.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Waiman Long <longman@redhat.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org

+1 -1
+1 -1
include/linux/mmu_context.h
··· 24 24 #ifndef task_cpu_possible_mask 25 25 # define task_cpu_possible_mask(p) cpu_possible_mask 26 26 # define task_cpu_possible(cpu, p) true 27 - # define task_cpu_fallback_mask(p) housekeeping_cpumask(HK_TYPE_TICK) 27 + # define task_cpu_fallback_mask(p) housekeeping_cpumask(HK_TYPE_DOMAIN) 28 28 #else 29 29 # define task_cpu_possible(cpu, p) cpumask_test_cpu((cpu), task_cpu_possible_mask(p)) 30 30 #endif