# Re: \[PATCH\] compiler\_types: Introduce inline\_for\_performance

- From: Eric Dumazet \<hidden\>
- Date: 2026-01-18 15:40:11 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/01/3374400
- Thread: https://ratatoskr.run/netdev/2026/01/3374393/t.md

```text
On Sun, Jan 18, 2026 at 4:32 PM Florian Westphal [ref] wrote:
>
> Eric Dumazet [ref] wrote:
> > -#ifdef CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
> > -static __always_inline
> > -#else
> > -static inline
> > -#endif
> > +static inline_for_performance
>
> ..
>
> > -#ifdef CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
> > -static __always_inline
> > -#else
> > -static inline
> > -#endif
> > +static inline_for_performance
>
> ..
>
> > +#ifdef CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
> > +#define inline_for_performance __always_inline
> > +#else
> > +#define inline_for_performance
> > +#endif
>
> Should that read
>
> #else
> +#define inline_for_performance inline
>
> instead?

Damn, of course !
```
