git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8325d9c
)
x86, sched_clock(): mark variables read-mostly
author
Ingo Molnar
<mingo@elte.hu>
Tue, 10 Mar 2009 18:02:30 +0000
(19:02 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 10 Mar 2009 18:02:30 +0000
(19:02 +0100)
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 <mingo@elte.hu>
No differences found