From: Cong Wang <xiyou.wangcong@gmail.com>
To: netdev@vger.kernel.org
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Subject: [Patch net-next 0/2] net: reduce dynamic lockdep keys
Date: Mon, 27 Apr 2020 23:02:04 -0700 [thread overview]
Message-ID: <20200428060206.21814-1-xiyou.wangcong@gmail.com> (raw)
syzbot has been complaining about low MAX_LOCKDEP_KEYS for a
long time, it is mostly because we register 4 dynamic keys per
network device.
This patchset reduces the number of dynamic lockdep keys from
4 to 1 per netdev, by reverting to the previous static keys,
except for addr_list_lock which still has to be dynamic.
The second patch removes a bonding-specific key by the way.
Cong Wang (2):
net: partially revert dynamic lockdep key changes
bonding: remove useless stats_lock_key
---
drivers/net/bonding/bond_main.c | 4 +-
.../net/ethernet/netronome/nfp/nfp_net_repr.c | 16 ++++
drivers/net/hamradio/bpqether.c | 20 +++++
drivers/net/hyperv/netvsc_drv.c | 2 +
drivers/net/ipvlan/ipvlan_main.c | 2 +
drivers/net/macsec.c | 2 +
drivers/net/macvlan.c | 2 +
drivers/net/ppp/ppp_generic.c | 2 +
drivers/net/team/team.c | 1 +
drivers/net/vrf.c | 1 +
.../net/wireless/intersil/hostap/hostap_hw.c | 22 +++++
include/linux/netdevice.h | 27 ++++--
include/net/bonding.h | 1 -
net/8021q/vlan_dev.c | 23 +++++
net/batman-adv/soft-interface.c | 30 +++++++
net/bluetooth/6lowpan.c | 8 ++
net/core/dev.c | 90 +++++++++++++++----
net/dsa/slave.c | 12 +++
net/ieee802154/6lowpan/core.c | 8 ++
net/l2tp/l2tp_eth.c | 1 +
net/netrom/af_netrom.c | 21 +++++
net/rose/af_rose.c | 21 +++++
net/sched/sch_generic.c | 17 ++--
23 files changed, 296 insertions(+), 37 deletions(-)
--
2.26.1
next reply other threads:[~2020-04-28 6:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-28 6:02 Cong Wang [this message]
2020-04-28 6:02 ` [Patch net-next 1/2] net: partially revert dynamic lockdep key changes Cong Wang
2020-04-30 7:39 ` Taehee Yoo
2020-05-01 6:02 ` Cong Wang
2020-05-02 7:36 ` Taehee Yoo
2020-05-03 4:24 ` Cong Wang
2020-04-28 6:02 ` [Patch net-next 2/2] bonding: remove useless stats_lock_key Cong Wang
2020-04-30 6:59 ` Taehee Yoo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200428060206.21814-1-xiyou.wangcong@gmail.com \
--to=xiyou.wangcong@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).