From: dingtianhong Date: Fri, 13 Dec 2013 02:19:45 +0000 (+0800) Subject: bonding: rebuild the lock use for bond_alb_monitor() X-Git-Tag: v3.14-rc1~94^2~495^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=733ab63935beab905b03a329cdc544e8c171b6b9;p=pandora-kernel.git 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 Suggested-by: Jay Vosburgh Suggested-by: Veaceslav Falico Signed-off-by: Ding Tianhong Signed-off-by: David S. Miller --- Reading git-diff-tree failed