summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorEric Dumazet2007-05-08 09:27:57 +0200
committerLinus Torvalds2007-05-08 20:15:06 +0200
commit329c8d84ca1946c037d9859dc251b56d8b1b4630 (patch)
tree05cfd2124dd6066eb6c2e769be99f6860ffb7501 /kernel
parentIRQ: check for PERCPU flag only when adding first irqaction (diff)
downloadkernel-qcow2-linux-329c8d84ca1946c037d9859dc251b56d8b1b4630.tar.gz
kernel-qcow2-linux-329c8d84ca1946c037d9859dc251b56d8b1b4630.tar.xz
kernel-qcow2-linux-329c8d84ca1946c037d9859dc251b56d8b1b4630.zip
time: SMP friendly alignment of struct clocksource
struct clocksource is a critical data structure. Most of its fields are read only, some of them are heavily modified at each timer interrupt. It makes sense to separate those fields and make sure they all share one cache line, or at least the minimum for machines with small cache lines. [akpm@linux-foundation.org: build fix] Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Acked-by: John Stultz <johnstul@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions