sched/isolation: Prefer housekeeping CPU in local node
authorWanpeng Li <wanpengli@tencent.com>
Fri, 28 Jun 2019 08:51:41 +0000 (16:51 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 25 Jul 2019 13:51:55 +0000 (15:51 +0200)
commite0e8d4911ed2695b12c3a01c15634000ede9bc73
treeb8979a4489332dc02e52988d52396627ab263fd6
parent65d74e91694e1afac40c96fb64a9ef120757729e
sched/isolation: Prefer housekeeping CPU in local node

In real product setup, there will be houseeking CPUs in each nodes, it
is prefer to do housekeeping from local node, fallback to global online
cpumask if failed to find houseeking CPU from local node.

Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/1561711901-4755-2-git-send-email-wanpengli@tencent.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/isolation.c
kernel/sched/sched.h
kernel/sched/topology.c