Commit a1aaee7
net: make napi_threaded_poll() aware of sd->defer_list
If we call skb_defer_free_flush() from napi_threaded_poll(),
we can avoid to raise IPI from skb_attempt_defer_free()
when the list becomes too big.
This allows napi_threaded_poll() to rely less on softirqs,
and lowers latency caused by a too big list.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent e6f50ed commit a1aaee7
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6622 | 6622 | | |
6623 | 6623 | | |
6624 | 6624 | | |
| 6625 | + | |
6625 | 6626 | | |
6626 | 6627 | | |
6627 | 6628 | | |
6628 | 6629 | | |
6629 | 6630 | | |
6630 | 6631 | | |
6631 | 6632 | | |
| 6633 | + | |
6632 | 6634 | | |
6633 | 6635 | | |
6634 | 6636 | | |
6635 | 6637 | | |
6636 | 6638 | | |
| 6639 | + | |
6637 | 6640 | | |
6638 | 6641 | | |
6639 | 6642 | | |
| |||
0 commit comments