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.

timers/migration: Remove superfluous cpuset isolation test

Cpuset isolated partitions are now included in HK_TYPE_DOMAIN. Testing
if a CPU is part of an isolated partition alone is now useless.

Remove the superflous test.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Waiman Long <longman@redhat.com>

+2 -3
+2 -3
kernel/time/timer_migration.c
··· 466 466 { 467 467 if (!static_branch_unlikely(&tmigr_exclude_isolated)) 468 468 return false; 469 - return (!housekeeping_cpu(cpu, HK_TYPE_DOMAIN) || 470 - cpuset_cpu_is_isolated(cpu)) && 471 - housekeeping_cpu(cpu, HK_TYPE_KERNEL_NOISE); 469 + return (!housekeeping_cpu(cpu, HK_TYPE_DOMAIN) && 470 + housekeeping_cpu(cpu, HK_TYPE_KERNEL_NOISE)); 472 471 } 473 472 474 473 /*