On Thu, May 14, 2020 at 08:30:07AM -0400, Tom Rini wrote:

> In the Linux kernel, support for forcing inline functions to be made
> inline, rather than allowing the compiler to make its own choice has
> been removed.  With respect to performance, modern GCC (and Clang) do a
> good job at deciding when to, or not to, inline code and there are no
> run-time requirements in Linux anymore.
> 
> There is one downside to this, which is final binary size.  On average
> in U-Boot removing this support grows SPL by almost 1 kilobyte.  But
> there are cases where it shrinks the binary by making better inline
> choices than we had forced.
> 
> Start by re-introducing CONFIG_OPTIMIZE_INLINING as a global which
> essentially reverts 889b3c1245de ("compiler: remove CONFIG_OPTIMIZE_INLINING 
> entirely")
> from Linux.
> 
> Cc: Masahiro Yamada <[email protected]>
> Signed-off-by: Tom Rini <[email protected]>

Applied to u-boot/next, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to