]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-skb-defer-freeing-polish'
authorDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2022 10:33:59 +0000 (11:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2022 10:33:59 +0000 (11:33 +0100)
commita1126513d505e44ea14b8124de565e31daaba00c
treed5be1a42e32e55e228aeee48bc252b5fa2db4d8b
parentc04be7dd030f1ba1b018ae8b37c7a8430ef11326
parent1acd1f9832c2e3640f181705476cf6d61339f0c7
Merge branch 'net-skb-defer-freeing-polish'

Eric Dumazet says:

====================
net: polish skb defer freeing

While testing this recently added feature on a variety
of platforms/configurations, I found the following issues:

1) A race leading to concurrent calls to smp_call_function_single_async()

2) Missed opportunity to use napi_consume_skb()

3) Need to limit the max length of the per-cpu lists.

4) Process the per-cpu list more frequently, for the
   (unusual) case where net_rx_action() has mutiple
   napi_poll() to process per round.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>