diff options
author | Peter Zijlstra <peterz@infradead.org> | 2017-12-21 10:47:48 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-03-09 07:59:17 +0100 |
commit | 4550487a993d579c7329bb5b19e516d36800c8bf (patch) | |
tree | 9a7cf7cc6ef90d132242314ae389ab4cbb81c1ac /kernel/sched/sched.h | |
parent | b7031a02ec753bf9b52a94a966b05e1abad3b7a9 (diff) |
sched/fair: Restructure nohz_balance_kick()
The current:
if (nohz_kick_needed())
nohz_balancer_kick()
is pointless complexity, fold them into a single call and avoid the
various conditions at the call site.
When we introduce multiple different needs to kick the ilb, the above
construct also becomes a problem.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/sched.h')
0 files changed, 0 insertions, 0 deletions