Subject: Re: [PATCH 2/5] kbuild: allow archs to select build for link dead code/data elimination

From: Andi Kleen <[email-masked]>
Date: Mon, 8 Aug 2016 20:16:05 -0700

> I don't understand what led Andi Kleen to also move .text.hot and
> .text.unlikely together with .text [2], but this may have
> been a related issue.

The goal was just to move .hot and .unlikely all together, so that
they are clustered and use the minimum amount of cache. On x86 doesn't
matter where they are exactly, as long as each is together.
If they are not explicitely listed then the linker interleaves
them with the normal text, which defeats the purpose.

-Andi