[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c617471892505a16188397d4120b21ebd553a457@vahedi.org>
Date: Wed, 13 Nov 2024 08:03:38 +0000
From: "Shahab Vahedi" <list+bpf@...edi.org>
To: "Hardevsinh Palaniya" <hardevsinh.palaniya@...iconsignals.io>, "Vadim
Fedorenko" <vadim.fedorenko@...ux.dev>, ast@...nel.org, andrii@...nel.org
Cc: "Daniel Borkmann" <daniel@...earbox.net>, "Martin KaFai Lau"
<martin.lau@...ux.dev>, "Eduard Zingerman" <eddyz87@...il.com>, "Song
Liu" <song@...nel.org>, "Yonghong Song" <yonghong.song@...ux.dev>, "John
Fastabend" <john.fastabend@...il.com>, "KP Singh" <kpsingh@...nel.org>,
"Stanislav Fomichev" <sdf@...ichev.me>, "Hao Luo" <haoluo@...gle.com>,
"Jiri Olsa" <jolsa@...nel.org>, "Vineet Gupta" <vgupta@...nel.org>,
bpf@...r.kernel.org, linux-snps-arc@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARC: bpf_jit_arcv2: Remove redundant condition check
Hardev wrote:
> Shahab wrote:
> >
> > Vadim wrote:
> > >
> > >
> > > The original code is obviously optimized out, but the intention, I
> > > believe, was to check if the jump is conditional or not.
> > > So the proper fix should change the code to check cond:
> > >
> > > - if (ARC_CC_AL)
> > > + if (cond == ARC_CC_AL)
> >
> >
> > That is absolutely correct. If a new patch is not submitted soon
> > I'll try to fix it myself.
>
> if you are okay with that then I can proceed by submitting version 2
> of the patch with the proposed changes included
Of course. Please go ahead. To be clear, What I meant by "soon" was
something around a week time.
Cheers,
Shahab
Powered by blists - more mailing lists