[PATCH v5 13/36] vmlinux.lds.h: add PGO and AutoFDO input sections
Andi Kleen
ak at linux.intel.com
Mon Aug 3 15:05:06 EDT 2020
> However, the history of their being together comes from
>
> 9bebe9e5b0f3 ("kbuild: Fix .text.unlikely placement")
>
> which seems to indicate there was some problem with having them separated out,
> although I don't quite understand what the issue was from the commit message.
Separating it out is less efficient. Gives worse packing for the hot part
if they are not aligned to 64byte boundaries, which they are usually not.
It also improves packing of the cold part, but that probably doesn't matter.
-Andi
More information about the linux-arm-kernel
mailing list