Re: [PATCH v2] x86/patches-5.4: enable DCDE for x86(-64)

2021-01-04 Thread Alberto Bursi
On 05/01/21 01:09, Rui Salvaterra wrote: Port and adapt Nick Piggin's original patch [1]. This enables dead code and data elimination at linking time (gc-sections) on x86(-64). openwrt-x86-64-generic-kernel.bin size, with my config: Before: 3138048 bytes After: 2937344 bytes In other

[PATCH v2] x86/patches-5.4: enable DCDE for x86(-64)

2021-01-04 Thread Rui Salvaterra
Port and adapt Nick Piggin's original patch [1]. This enables dead code and data elimination at linking time (gc-sections) on x86(-64). openwrt-x86-64-generic-kernel.bin size, with my config: Before: 3138048 bytes After: 2937344 bytes In other words, we save about 200 kB. [1]