From: Peter Zijlstra Date: Thu, 4 Jul 2013 04:56:46 +0000 (+0800) Subject: sched: Micro-optimize the smart wake-affine logic X-Git-Tag: v3.12-rc1~168^3~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d9ffa8961482232d964173cccba6e14d2d543b2;p=pandora-kernel.git 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 Tested-by: Michael Wang Signed-off-by: Peter Zijlstra Acked-by: Michael Wang Cc: Mike Galbraith Link: http://lkml.kernel.org/r/51D5008E.6030102@linux.vnet.ibm.com [ Tidied up the changelog. ] Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed