mbox series

[net-next,0/2] Couple of minor improvements to build_skb variants

Message ID 20230215121707.1936762-1-gal@nvidia.com (mailing list archive)
Headers show
Series Couple of minor improvements to build_skb variants | expand

Message

Gal Pressman Feb. 15, 2023, 12:17 p.m. UTC
First patch replaces open-coded occurrences of
skb_propagate_pfmemalloc() in build_skb() and build_skb_around().
The secnod patch adds a likely() to the skb allocation in build_skb().

Thanks

Gal Pressman (2):
  skbuff: Replace open-coded skb_propagate_pfmemalloc()s
  skbuff: Add likely to skb pointer in build_skb()

 net/core/skbuff.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Comments

Larysa Zaremba Feb. 15, 2023, 3:03 p.m. UTC | #1
On Wed, Feb 15, 2023 at 02:17:05PM +0200, Gal Pressman wrote:
> First patch replaces open-coded occurrences of
> skb_propagate_pfmemalloc() in build_skb() and build_skb_around().
> The secnod patch adds a likely() to the skb allocation in build_skb().
> 
> Thanks
> 
> Gal Pressman (2):
>   skbuff: Replace open-coded skb_propagate_pfmemalloc()s
>   skbuff: Add likely to skb pointer in build_skb()
> 
>  net/core/skbuff.c | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)
>

Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
 
> -- 
> 2.39.0
>