From: Ingo Molnar Date: Tue, 10 Mar 2009 18:02:30 +0000 (+0100) Subject: x86, sched_clock(): mark variables read-mostly X-Git-Tag: v2.6.30-rc1~658^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f24ade3a3332811a512ed3b6c6aa69486719b1d8;p=pandora-kernel.git x86, sched_clock(): mark variables read-mostly Impact: micro-optimization There's a number of variables in the sched_clock() path that are in .data/.bss - but not marked __read_mostly. This creates the danger of accidental false cacheline sharing with some other, write-often variable. So mark them __read_mostly. Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed