netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ixgbe: replace rtnl_lock with rcu_read_lock
@ 2016-06-05  9:14 zyjzyj2000
  2016-06-05  9:14 ` [PATCH 1/1] " zyjzyj2000
  0 siblings, 1 reply; 8+ messages in thread
From: zyjzyj2000 @ 2016-06-05  9:14 UTC (permalink / raw)
  To: e1000-devel, netdev


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-06-07 15:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-05  9:14 ixgbe: replace rtnl_lock with rcu_read_lock zyjzyj2000
2016-06-05  9:14 ` [PATCH 1/1] " zyjzyj2000
2016-06-05 11:14   ` Eric Dumazet
2016-06-05 18:40   ` Alexander Duyck
2016-06-06 13:37     ` zhuyj
2016-06-06 16:12       ` Alexander Duyck
2016-06-07  6:30         ` zhuyj
2016-06-07 15:31           ` Alexander Duyck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).