bonding: rcu cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 3 repliesIn review
- v13 patches 7 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bonding: get rid of bond_option_active_slave_get()drivers/ drivers/ drivers/ | +16 | 0 replies | |
| 2/4 | bonding: use rcu_access_pointer() in bonding_show_mii_status()drivers/ | +2 | 0 replies | |
| 3/4 | bonding: add proper __rcu annotation for curr_active_slavedrivers/ drivers/ drivers/ +1 more | +63 | 0 replies | |
| 4/4 | bonding: add proper __rcu annotation for current_arp_slavedrivers/ drivers/ | +10 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Veaceslav Falico | Nikolay Aleksandrov |
|---|---|---|
| Series | A-b | |
| 1/4 | A-b | R-b |
| 2/4 | A-b | R-b |
| 3/4 | A-b | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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(-)
Signature · 1 line
2.0.0.526.g5318336