summaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2007-05-08 00:27:57 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 11:15:06 -0700
commit329c8d84ca1946c037d9859dc251b56d8b1b4630 (patch)
tree05cfd2124dd6066eb6c2e769be99f6860ffb7501 /fs/read_write.c
parentf75d222b836f7febfab0954c7612b23059d748cb (diff)
downloadop-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 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud