Re: [PATCH net-next v4] net: skb: prevent the split of kfree_skb_reason() by gcc
From: Miguel Ojeda
Date: Tue Aug 16 2022 - 05:57:49 EST
On Tue, Aug 16, 2022 at 5:29 AM <menglong8.dong@xxxxxxxxx> wrote:
>
> Reported-by: Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx>
Hmm... Why did you add me as a reporter?
> + * 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.
Cheers,
Miguel