]> git.ipfire.org Git - thirdparty/linux.git/commit
sched/fair: Restructure wake_affine*() to return a CPU id
authorMel Gorman <mgorman@techsingularity.net>
Tue, 30 Jan 2018 10:45:53 +0000 (10:45 +0000)
committerIngo Molnar <mingo@kernel.org>
Tue, 6 Feb 2018 09:20:35 +0000 (10:20 +0100)
commit3b76c4a33959ca98a573cd9c94c8690d123912ca
tree74614aeb9b587b3359fa1b9ea6381f3e61145432
parent89a55f56fd1cdbe7e69d4693fc5790af9a6e1501
sched/fair: Restructure wake_affine*() to return a CPU id

This is a preparation patch that has wake_affine*() return a CPU ID instead of
a boolean. The intent is to allow the wake_affine() helpers to be avoided
if a decision is already made. This patch has no functional change.

Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20180130104555.4125-3-mgorman@techsingularity.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c