[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1405432616-12414-1-git-send-email-edumazet@google.com>
Date: Tue, 15 Jul 2014 06:56:52 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, Jay Vosburgh <j.vosburgh@...il.com>,
Veaceslav Falico <vfalico@...il.com>,
Andy Gospodarek <andy@...yhouse.net>,
Nikolay Aleksandrov <nikolay@...hat.com>,
Mahesh Bandewar <maheshb@...gle.com>,
Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH v2 net-next 0/4] bonding: rcu cleanups
RCU was added to bonding in linux-3.12 but lacked proper sparse annotations.
Using __rcu annotation actually helps to spot all accesses to
bond->curr_active_slave & cond->current_arp_slave
are correctly protected, with full sparse & LOCKDEP support.
Lets clean the code.
Eric Dumazet (4):
bonding: get rid of bond_option_active_slave_get()
bonding: use rcu_access_pointer() in bonding_show_mii_status()
bonding: add proper __rcu annotation for curr_active_slave
bonding: add proper __rcu annotation for current_arp_slave
drivers/net/bonding/bond_alb.c | 47 +++++++++++++++-----------
drivers/net/bonding/bond_main.c | 68 +++++++++++++++++++++-----------------
drivers/net/bonding/bond_netlink.c | 21 +++++++++---
drivers/net/bonding/bond_options.c | 7 +---
drivers/net/bonding/bond_sysfs.c | 3 +-
drivers/net/bonding/bonding.h | 9 +++--
6 files changed, 91 insertions(+), 64 deletions(-)
--
2.0.0.526.g5318336
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists