diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2013-09-07 19:33:51 -0500 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-11 11:31:30 +0200 |
| commit | 0425711d7e7c58a232e5a421028cf8ea8d1b48b4 (patch) | |
| tree | a2060282e99e8a84e6f23878c6d23593fb76a1f9 /scripts/Makefile.lib | |
| parent | d354b465652dfabe1ca553f751f2b091d43595c0 (diff) | |
sched: Micro-optimize the smart wake-affine logic
Smart wake-affine is using node-size as the factor currently, but the overhead
of the mask operation is high.
Thus, this patch introduce the 'sd_llc_size' percpu variable, which will record
the highest cache-share domain size, and make it to be the new factor, in order
to reduce the overhead and make it more reasonable.
Tested-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Tested-by: Michael Wang <wangyun@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Michael Wang <wangyun@linux.vnet.ibm.com>
Cc: Mike Galbraith <efault@gmx.de>
Link: http://lkml.kernel.org/r/51D5008E.6030102@linux.vnet.ibm.com
[ Tidied up the changelog. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Change-Id: I8fb3ceac1e6944db078932172c99d544a4e304e4
Signed-off-by: Paul Reioux <reioux@gmail.com>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions
