diff options
author | Mike Galbraith <bitbucket@online.de> | 2013-01-28 11:19:25 (GMT) |
---|---|---|
committer | Emil Medve <Emilian.Medve@Freescale.com> | 2013-03-21 07:02:37 (GMT) |
commit | 10824b419e25a715b7b6787dab5a46b3035dfaf5 (patch) | |
tree | 62034df3666042d58823fb5add538b411087dbcd /drivers/net/ethernet/stmicro | |
parent | 405acc3402a3df8df967d1848947dc58f0059664 (diff) | |
download | linux-fsl-qoriq-10824b419e25a715b7b6787dab5a46b3035dfaf5.tar.xz |
sched: Fix select_idle_sibling() bouncing cow syndrome
If the previous CPU is cache affine and idle, select it.
The current implementation simply traverses the sd_llc domain,
taking the first idle CPU encountered, which walks buddy pairs
hand in hand over the package, inflicting excruciating pain.
1 tbench pair (worst case) in a 10 core + SMT package:
pre 15.22 MB/sec 1 procs
post 252.01 MB/sec 1 procs
Signed-off-by: Mike Galbraith <bitbucket@online.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1359371965.5783.127.camel@marge.simpson.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
0 files changed, 0 insertions, 0 deletions