diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-10 18:02:30 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-10 18:02:30 (GMT) |
commit | f24ade3a3332811a512ed3b6c6aa69486719b1d8 (patch) | |
tree | 639fd20053f3c3738ee8ff7893753741e8c684c0 /kernel/sched_fair.c | |
parent | 8325d9c09dedf45476f4d6261d1b6a72e4a7453f (diff) | |
download | linux-fsl-qoriq-f24ade3a3332811a512ed3b6c6aa69486719b1d8.tar.xz |
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 <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
0 files changed, 0 insertions, 0 deletions