Skip to content
Commit cf536e18 authored by Feng Tang's avatar Feng Tang Committed by Masahiro Yamada
Browse files

Makefile: extend 32B aligned debug option to 64B aligned

Commit 09c60546 ("./Makefile: add debug option to enable
function aligned on 32 bytes") was introduced to help debugging
strange kernel performance changes caused by code alignment
change.

Recently we found 2 similar cases [1][2] caused by code-alignment
changes, which can only be identified by forcing 64 bytes aligned
for all functions.

Originally, 32 bytes was used mainly for not wasting too much
text space, but this option is only for debug anyway where text
space is not a big concern. So extend the alignment to 64 bytes
to cover more similar cases.

[1].https://lore.kernel.org/lkml/20210427090013.GG32408@xsang-OptiPlex-9020/
[2].https://lore.kernel.org/lkml/20210420030837.GB31773@xsang-OptiPlex-9020/


Signed-off-by: default avatarFeng Tang <feng.tang@intel.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent c4681547
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment