From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Sun, 04 Sep 2016 05:00:22 +0000 Subject: Re: sparc: bpf_jit: Move four assignments in bpf_jit_compile() Message-Id: List-Id: References: <566ABCD9.1060404@users.sourceforge.net> <2179bf7c-9878-adf7-da97-2746d5aa3d34@users.sourceforge.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julian Calaby Cc: sparclinux , Adam Buchbinder , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Rabin Vincent , LKML , kernel-janitors , Julia Lawall , Paolo Bonzini > Does this change improve the resulting binary? I hope so. - I propose to give the refactorings "Reduce scope of variable" and "Extract a function" (and the corresponding consequences) another look. > I.e. does it make it smaller or faster? It is generally possible that a specific code generation variant will also affect the run time properties you mentioned. > Otherwise this change is useless churn - you're making the code more > complicated, longer and harder to read for practically no benefit. I imagine that there other reasons you could eventually accept for this use case, aren't there? Regards, Markus