From: Peter Zijlstra Date: Fri, 16 Apr 2010 12:59:29 +0000 (+0200) Subject: sched: Pre-compute cpumask_weight(sched_domain_span(sd)) X-Git-Tag: v2.6.35-rc1~521^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=669c55e9f99b90e46eaa0f98a67ec53d46dc969a;p=pandora-kernel.git sched: Pre-compute cpumask_weight(sched_domain_span(sd)) Dave reported that his large SPARC machines spend lots of time in hweight64(), try and optimize some of those needless cpumask_weight() invocations (esp. with the large offstack cpumasks these are very expensive indeed). Reported-by: David Miller Signed-off-by: Peter Zijlstra LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed