summaryrefslogtreecommitdiffstats
path: root/kernel/params.c
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2017-06-23 12:55:28 -0400
committerIngo Molnar <mingo@kernel.org>2017-06-24 08:57:52 +0200
commit7d894e6e34a5cdd12309c7e4a3f830277ad4b7bf (patch)
tree39d5fea658872e904ce00e208851a9f204545d3f /kernel/params.c
parent739294fb03f590401bbd7faa6d31a507e3ffada5 (diff)
downloadlinux-7d894e6e34a5cdd12309c7e4a3f830277ad4b7bf.tar.bz2
sched/fair: Simplify wake_affine() for the single socket case
Then 'this_cpu' and 'prev_cpu' are in the same socket, select_idle_sibling() will do its thing regardless of the return value of wake_affine(). Just return true and don't look at all the other things. Signed-off-by: Rik van Riel <riel@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: jhladky@redhat.com Cc: linux-kernel@vger.kernel.org Link: http://lkml.kernel.org/r/20170623165530.22514-3-riel@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions