Hi again, Adrian,
On Sun, 3 Jan 2021 at 12:36, Rui Salvaterra wrote:
> On Sun, 3 Jan 2021 at 12:22, Adrian Schmutzler
> wrote:
> >
> > Shouldn't it be in target/linux/x86 then?
>
> You tell me. :) My rationale was, this being a pending upstream patch
> (it hasn't hit mainline because this is a
Hi, Adrian,
On Sun, 3 Jan 2021 at 12:22, Adrian Schmutzler wrote:
>
> Shouldn't it be in target/linux/x86 then?
You tell me. :) My rationale was, this being a pending upstream patch
(it hasn't hit mainline because this is a stop-gap solution while
people are working on "real" LTO, at least for C
t;
> Subject: [PATCH] kernel/pending-5.4: enable DCDE for x86(-64)
>
> Port and adapt Nick Piggin's original patch [1]. This enables dead code and
> data elimination at linking time (gc-sections) on x86(-64).
Shouldn't it be in target/linux/x86 then?
Best
Adrian
>
>
On Sun, 3 Jan 2021 at 00:33, Rui Salvaterra wrote:
>
> openwrt-x86-64-generic-kernel.bin size, with my config:
>
> Before: 3138048 bytes
> After: 2937344 bytes
>
> In other words, we save about 100 kB.
Make it 200 kB. I obviously fail at math. :P
Cheers,
Rui
___
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 100 kB.
[1] https://lore.kern