diff options
author | Shaohua Li <shaohua.li@intel.com> | 2011-01-12 16:59:38 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 08:03:08 -0800 |
commit | 8369744fc4418743d3d84a8490d576e3dbf01594 (patch) | |
tree | 11692eefa7c632dc353d438131a240a5ab82de2a /block/blk-map.c | |
parent | 1725310324163f56fea71bb77c5d6e88f9ce4192 (diff) | |
download | op-kernel-dev-8369744fc4418743d3d84a8490d576e3dbf01594.zip op-kernel-dev-8369744fc4418743d3d84a8490d576e3dbf01594.tar.gz |
include/asm-generic/vmlinux.lds.h: make readmostly section correctly align
The readmostly section should end at a cacheline aligned address,
otherwise the last several data might share cachline with other data and
make the readmostly data still have cache bounce.
For example, in ia64, secpath_cachep is the last readmostly data, and it
shares cacheline with init_uts_ns.
a000000100e80480 d secpath_cachep
a000000100e80488 D init_uts_ns
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions