mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01:00
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>
This commit is contained in:
parent
f5c145ae4f
commit
0947d018cf
1 changed files with 2 additions and 3 deletions
|
|
@ -466,9 +466,8 @@ static inline bool tmigr_is_isolated(int cpu)
|
|||
{
|
||||
if (!static_branch_unlikely(&tmigr_exclude_isolated))
|
||||
return false;
|
||||
return (!housekeeping_cpu(cpu, HK_TYPE_DOMAIN) ||
|
||||
cpuset_cpu_is_isolated(cpu)) &&
|
||||
housekeeping_cpu(cpu, HK_TYPE_KERNEL_NOISE);
|
||||
return (!housekeeping_cpu(cpu, HK_TYPE_DOMAIN) &&
|
||||
housekeeping_cpu(cpu, HK_TYPE_KERNEL_NOISE));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue