aboutsummaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorShaohua Li <[email protected]>2011-01-13 00:59:38 +0000
committerLinus Torvalds <[email protected]>2011-01-13 16:03:08 +0000
commit8369744fc4418743d3d84a8490d576e3dbf01594 (patch)
tree11692eefa7c632dc353d438131a240a5ab82de2a /lib/flex_array.c
parentinclude/linux/unaligned/packed_struct.h: use __packed (diff)
downloadkernel-8369744fc4418743d3d84a8490d576e3dbf01594.tar.gz
kernel-8369744fc4418743d3d84a8490d576e3dbf01594.zip
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 <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Eric Dumazet <[email protected]> Acked-by: Tejun Heo <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions