1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
Hauke Mehrtens 6db454e9b6 kernel: Activate CONFIG_OPTIMIZE_INLINING
This will reduce the size of the kernel if CONFIG_CC_OPTIMIZE_FOR_SIZE is
set like for all targets with small_flash feature flag.
I haven't seen any changes for an ARM64 target which optimizes the
kernel for speed instead.

On the ath79/tiny target the uncompressed kernel size was reduced by
3.2% and the compressed kernel size by 2.1%

kernel size with CONFIG_OPTIMIZE_INLINING=n
4346412 build_dir/target-mips_24kc_musl/linux-ath79_tiny/vmlinux
1391169 build_dir/target-mips_24kc_musl/linux-ath79_tiny/tplink_tl-wr941-v4-kernel.bin

Kernel size with CONFIG_OPTIMIZE_INLINING=y
4212396 build_dir/target-mips_24kc_musl/linux-ath79_tiny/vmlinux
1362051 build_dir/target-mips_24kc_musl/linux-ath79_tiny/tplink_tl-wr941-v4-kernel.bin

This change is currently pending for kernel 5.2 and already in
linux-next, this updates our patch to match the upstream version.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 6dac1c0a9b)
2019-08-17 00:18:29 +02:00
..
apm821xx kernel: bump 4.14 to 4.14.136 2019-08-06 11:54:50 +02:00
ar71xx ar71xx: ag71xx: init rings with GFP_KERNEL 2019-08-09 18:52:21 +02:00
arc770
archs38
armvirt
at91
ath25
ath79 Revert "ath79: make target source-only" 2019-08-14 21:27:11 +02:00
bcm53xx
brcm47xx
brcm63xx kernel: bump 4.14 to 4.14.137 2019-08-09 18:32:38 +02:00
brcm2708 kernel: bump 4.14 to 4.14.138 2019-08-14 18:24:11 +02:00
cns3xxx
gemini
generic kernel: Activate CONFIG_OPTIMIZE_INLINING 2019-08-17 00:18:29 +02:00
imx6 imx6: bump SDMA firmware to 3.5 2019-07-31 16:56:19 +02:00
ipq40xx kernel: bump 4.14 to 4.14.136 2019-08-06 11:54:50 +02:00
ipq806x
kirkwood
lantiq lantiq: unify Fritz!Box LED mappings 2019-08-15 14:53:04 +02:00
layerscape kernel: bump 4.14 to 4.14.136 2019-08-06 11:54:50 +02:00
malta
mediatek kernel: bump 4.14 to 4.14.136 2019-08-06 11:54:50 +02:00
mpc85xx mpc85xx: correct OCEDO Panda LED definition 2019-08-05 22:40:35 +02:00
mvebu mvebu: sysupgrade: sdcard: fix platform_do_upgrade_sdcard 2019-08-17 00:17:46 +02:00
mxs
octeon
octeontx
omap
oxnas
pistachio
ramips ramips: add support for ASUS RT-AC57U 2019-07-21 13:10:12 +02:00
rb532
samsung
sunxi
tegra
uml
x86
zynq
Makefile