mbox series

[net-next,0/2] gro: remove redundant rcu_read_lock

Message ID 20211123225608.2155163-1-eric.dumazet@gmail.com (mailing list archive)
Headers show
Series gro: remove redundant rcu_read_lock | expand

Message

Eric Dumazet Nov. 23, 2021, 10:56 p.m. UTC
From: Eric Dumazet <edumazet@google.com>

Recent trees got an increase of rcu_read_{lock|unlock} costs,
it is time to get rid of the not needed pairs.

Eric Dumazet (2):
  gro: remove rcu_read_lock/rcu_read_unlock from gro_receive handlers
  gro: remove rcu_read_lock/rcu_read_unlock from gro_complete handlers

 drivers/net/geneve.c   |  8 +-------
 net/8021q/vlan_core.c  |  7 +------
 net/ethernet/eth.c     |  7 +------
 net/ipv4/af_inet.c     | 19 ++++++-------------
 net/ipv4/fou.c         | 25 +++++++------------------
 net/ipv4/gre_offload.c | 12 +++---------
 net/ipv4/udp_offload.c |  4 ----
 net/ipv6/ip6_offload.c | 14 +++-----------
 net/ipv6/udp_offload.c |  2 --
 9 files changed, 22 insertions(+), 76 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 25, 2021, 1:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 23 Nov 2021 14:56:06 -0800 you wrote:
> From: Eric Dumazet <edumazet@google.com>
> 
> Recent trees got an increase of rcu_read_{lock|unlock} costs,
> it is time to get rid of the not needed pairs.
> 
> Eric Dumazet (2):
>   gro: remove rcu_read_lock/rcu_read_unlock from gro_receive handlers
>   gro: remove rcu_read_lock/rcu_read_unlock from gro_complete handlers
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] gro: remove rcu_read_lock/rcu_read_unlock from gro_receive handlers
    https://git.kernel.org/netdev/net-next/c/fc1ca3348a74
  - [net-next,2/2] gro: remove rcu_read_lock/rcu_read_unlock from gro_complete handlers
    https://git.kernel.org/netdev/net-next/c/627b94f75b82

You are awesome, thank you!