lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230321040115.787497-1-edumazet@google.com>
Date:   Tue, 21 Mar 2023 04:01:12 +0000
From:   Eric Dumazet <edumazet@...gle.com>
To:     "David S . Miller" <davem@...emloft.net>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>
Cc:     David Ahern <dsahern@...nel.org>, netdev@...r.kernel.org,
        eric.dumazet@...il.com, Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/3] net: remove some rcu_bh cruft

There is no point using rcu_bh variant hoping to free objects faster,
especially hen using call_rcu() or kfree_rcu().

Disabling/enabling BH has a non-zero cost, and adds distracting
hot spots in kernel profilesm eg in ip6_xmit().

Eric Dumazet (3):
  ipv6: flowlabel: do not disable BH where not needed
  neighbour: switch to standard rcu, instead of rcu_bh
  net: remove rcu_dereference_bh_rtnl()

 include/linux/rtnetlink.h | 10 ------
 include/net/arp.h         |  8 ++---
 include/net/ndisc.h       | 12 ++++----
 include/net/neighbour.h   |  6 ++--
 include/net/nexthop.h     |  6 ++--
 net/core/filter.c         | 16 ++++++----
 net/core/neighbour.c      | 64 +++++++++++++++++++--------------------
 net/ipv4/fib_semantics.c  |  4 +--
 net/ipv4/ip_output.c      |  6 ++--
 net/ipv4/nexthop.c        |  8 ++---
 net/ipv4/route.c          |  4 +--
 net/ipv6/addrconf.c       | 14 ++++-----
 net/ipv6/ip6_flowlabel.c  | 51 ++++++++++++++++---------------
 net/ipv6/ip6_output.c     | 10 +++---
 net/ipv6/route.c          | 12 ++++----
 15 files changed, 114 insertions(+), 117 deletions(-)

-- 
2.40.0.rc2.332.ga46443480c-goog

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ