summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authordingtianhong2013-12-13 03:19:45 +0100
committerDavid S. Miller2013-12-14 07:58:01 +0100
commit733ab63935beab905b03a329cdc544e8c171b6b9 (patch)
treef625f315d8a1d725ae5389a139bbb0b7bed0540a /drivers/net/bonding/bond_main.c
parentbonding: rebuild the lock use for bond_mii_monitor() (diff)
downloadkernel-qcow2-linux-733ab63935beab905b03a329cdc544e8c171b6b9.tar.gz
kernel-qcow2-linux-733ab63935beab905b03a329cdc544e8c171b6b9.tar.xz
kernel-qcow2-linux-733ab63935beab905b03a329cdc544e8c171b6b9.zip
bonding: rebuild the lock use for bond_alb_monitor()
The bond_alb_monitor use bond lock to protect the bond slave list, it is no effect here, we need to use RTNL or RCU to replace bond lock, the bond_alb_monitor will called 10 times one second, RTNL may loss performance here, so I replace bond lock with RCU to protect the bond slave list, also the RTNL is preserved, the logic of the monitor did not changed. Suggested-by: Nikolay Aleksandrov <nikolay@redhat.com> Suggested-by: Jay Vosburgh <fubar@us.ibm.com> Suggested-by: Veaceslav Falico <vfalico@redhat.com> Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions