• I
    x86, sched_clock(): mark variables read-mostly · f24ade3a
    Ingo Molnar 提交于
    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: NIngo Molnar <mingo@elte.hu>
    f24ade3a
tsc.c 21.9 KB