Re: [PATCH 2/2] clk: qcom: smd-rpm: De-duplicate identical entries
From: Stephen Boyd
Date: Wed Jun 02 2021 - 03:19:05 EST
Quoting Stephen Boyd (2021-06-02 00:15:52)
> Quoting Konrad Dybcio (2021-05-24 15:54:56)
> > It makes negative sense to keep repeating the same definitions
> > over and over and over and over again, just with changed names..
> >
> > De-duplicate to make for a drastically smaller file size.
> >
> > Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>
> > ---
>
> Applied to clk-next. Thanks! I wonder how much smaller it got...
Apparently 55% smaller. Nice!
$ ./scripts/bloat-o-meter before.o after.o | grep Total
Total: Before=70713, After=31353, chg -55.66%