mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
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>
This commit is contained in:
parent
8325d9c09d
commit
f24ade3a33
1 changed files with 5 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue