Re: [PATCH] x86: enable dead code and data elimination

From: Nicholas Piggin
Date: Thu Jul 01 2021 - 20:30:15 EST


Excerpts from Rui Salvaterra's message of July 1, 2021 8:00 pm:
> Hi, Tobias,
>
> On Thu, 1 Jul 2021 at 10:22, <tobias.karnat@xxxxxxxxxxx> wrote:
>>
>> Hello,
>>
>> I have found your patch to enable x86 dead code and data elimination on the openwrt-devel mailing list and I wonder if you can sent it upstream to the kernel mailing list?
>
> As I quoted, mine is an adaptation of Nicholas Piggin's original
> patch, basically a forward-port to 5.4 (5.10 in my OpenWrt tree [1]).
> Since the original proposal has been sent upstream and hasn't been
> merged, there are probably good reasons for it (even though it works
> perfectly for my use case). Nicholas, any idea on why your original
> patch [2] hasn't been merged?

Not sure, I didn't do much testing or try too hard to get it upstream.
If you have found it works and is helpful I don't see why it couldn't
be merged. Feel free to submit it.

Thanks,
Nick