diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2007-05-08 00:27:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:06 -0700 |
commit | 329c8d84ca1946c037d9859dc251b56d8b1b4630 (patch) | |
tree | 05cfd2124dd6066eb6c2e769be99f6860ffb7501 /kernel/timer.c | |
parent | f75d222b836f7febfab0954c7612b23059d748cb (diff) | |
download | op-kernel-dev-329c8d84ca1946c037d9859dc251b56d8b1b4630.zip op-kernel-dev-329c8d84ca1946c037d9859dc251b56d8b1b4630.tar.gz |
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/timer.c')
0 files changed, 0 insertions, 0 deletions