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.
This commit is contained in:
Mateusz Guzik 2018-05-11 08:56:39 +00:00
parent 4aa302dfc9
commit 726f22e081
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333486

View File

@ -155,12 +155,12 @@ SECTIONS
{
*(.data.read_mostly)
}
. = ALIGN(64);
. = ALIGN(128);
.data.exclusive_cache_line :
{
*(.data.exclusive_cache_line)
}
. = ALIGN(64);
. = ALIGN(128);
.data :
{
*(.data .data.* .gnu.linkonce.d.*)