Repository navigation
Commit 7d894e6
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>1 parent 739294f commit 7d894e6
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5419 | 5419 | | |
5420 | 5420 | | |
5421 | 5421 | | |
| 5422 | + | |
| 5423 | + | |
| 5424 | + | |
| 5425 | + | |
| 5426 | + | |
| 5427 | + | |
| 5428 | + | |
5422 | 5429 | | |
5423 | 5430 | | |
5424 | 5431 | | |
| |||
6007 | 6014 | | |
6008 | 6015 | | |
6009 | 6016 | | |
6010 | | - | |
| 6017 | + | |
| 6018 | + | |
| 6019 | + | |
| 6020 | + | |
6011 | 6021 | | |
6012 | 6022 | | |
6013 | 6023 | | |
6014 | 6024 | | |
| 6025 | + | |
6015 | 6026 | | |
6016 | 6027 | | |
6017 | 6028 | | |
| |||
0 commit comments