[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1465118091-6233-1-git-send-email-zyjzyj2000@gmail.com>
Date:	Sun,  5 Jun 2016 17:14:50 +0800
From:	zyjzyj2000@...il.com
To:	e1000-devel@...ts.sourceforge.net, netdev@...r.kernel.org
Subject: ixgbe: replace rtnl_lock with rcu_read_lock 
Hi,all
 I am using the ixgbe nic. I found that the rtnl_lock is being 
 used to enable upper device, such as macvlan. I am curious
 why rcu_read_lock is not used here.
 I replaced rtnl_lock with rcu_read_lock here. Then I made tests and
 it can work well.
 So can the rtnl_lock be replaced with rcu_read_lock?
 Anyone can explain it in details?
 Any reply is appreciated.
 Zhu Yanjun
Powered by blists - more mailing lists
 
