Subject: Re: [PATCH v2] net: use bulk free in kfree_skb_list

From: Jesper Dangaard Brouer <[email-masked]>
Date: Sun, 24 Mar 2019 19:23:02 +0100

On Sun, 24 Mar 2019 17:56:44 +0100
Felix Fietkau <[email-masked]> wrote:

> Since we're freeing multiple skbs, we might as well use bulk free to save a
> few cycles. Use the same conditions for bulk free as in napi_consume_skb.
> 
> Signed-off-by: Felix Fietkau <[email-masked]>
> ---
> v2: call kmem_cache_free_bulk once the skb array is full instead of
>     falling back to kfree_skb

Acked-by: Jesper Dangaard Brouer <[email-masked]>

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer