mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
skbuff: remove __kfree_skb_flush()
This function isn't much needed as NAPI skb queue gets bulk-freed anyway when there's no more room, and even may reduce the efficiency of bulk operations. It will be even less needed after reusing skb cache on allocation path, so remove it and this way lighten network softirqs a bit. Suggested-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Alexander Lobakin <alobakin@pm.me> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
f9d6725bf4
commit
fec6e49b63
@@ -2919,7 +2919,6 @@ static inline struct sk_buff *napi_alloc_skb(struct napi_struct *napi,
|
||||
}
|
||||
void napi_consume_skb(struct sk_buff *skb, int budget);
|
||||
|
||||
void __kfree_skb_flush(void);
|
||||
void __kfree_skb_defer(struct sk_buff *skb);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user