[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADxym3Y1ZoWrkGW3v4PbVMvbEYnoFgHmFXCD-QpY4Of9hrAxBg@mail.gmail.com>
Date: Wed, 17 Aug 2022 10:20:14 +0800
From: Menglong Dong <menglong8.dong@...il.com>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: kuba@...nel.org, ojeda@...nel.org, ndesaulniers@...gle.com,
davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
asml.silence@...il.com, imagedong@...cent.com,
luiz.von.dentz@...el.com, vasily.averin@...ux.dev,
jk@...econstruct.com.au, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, kernel test robot <lkp@...el.com>
Subject: Re: [PATCH net-next v4] net: skb: prevent the split of
kfree_skb_reason() by gcc
On Tue, Aug 16, 2022 at 5:02 PM Miguel Ojeda
<miguel.ojeda.sandonis@...il.com> wrote:
>
> On Tue, Aug 16, 2022 at 5:29 AM <menglong8.dong@...il.com> wrote:
> >
> > Reported-by: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
>
> Hmm... Why did you add me as a reporter?
>
Enn...because you pointed out my code's problem, just like what robot do.
Shouldn't I?
> > + * Optional: not supported by clang.
> > + * Optional: not supported by icc.
>
> Much better, thank you! Please add the links to GCC's docs, like in
> most attributes (some newer attributes may have been added without
> them -- I will fix that).
>
> In any case, no need to send a new version just for this for the
> moment, I would recommend waiting until others comment on whether they
> want `__optimize__` used here as the workaround.
>
Okay, I'll wait longer before the next version.
Thanks!
Menglong Dong
> Cheers,
> Miguel
Powered by blists - more mailing lists