]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: align the .data.exclusive_cache_line section to 128
authorMateusz Guzik <mjg@FreeBSD.org>
Fri, 11 May 2018 08:56:39 +0000 (08:56 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Fri, 11 May 2018 08:56:39 +0000 (08:56 +0000)
commit726f22e08155e33518cfd0de169b7728c64cfce0
treeee64f2d82998e7142a06b0dafc7f8a120a6ca8d2
parent4aa302dfc9b40fca27ea03248d3bffd5b0d19d9a
amd64: align the .data.exclusive_cache_line section to 128

This aligns the section itself compared to other sections, does not change
internal alignment of fields stored inside. This may or may not come later.

The motivation is partially combating adverse effects of the adjacent cache
line prefetcher. Without the annotation part of read_mostly section was on
the line of fire.
sys/conf/ldscript.amd64