netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: core: rcuify rtnl af_ops
@ 2017-10-16 13:44 Florian Westphal
  2017-10-16 13:44 ` [PATCH net-next 1/2] rtnetlink: place link af dump into own helper Florian Westphal
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Westphal @ 2017-10-16 13:44 UTC (permalink / raw)
  To: netdev

None of the rtnl af_ops callbacks sleep, so they can be called while
holding rcu read lock.

Switch handling of af_ops to rcu.

This would allow to later call af_ops functions without holding
the rtnl mutex anymore.

 core/rtnetlink.c |  134 ++++++++++++++++++++++++++++++++++++-------------------
 ipv4/devinet.c   |    4 -
 2 files changed, 90 insertions(+), 48 deletions(-)

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

end of thread, other threads:[~2017-10-16 20:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-16 13:44 [PATCH net-next 0/2] net: core: rcuify rtnl af_ops Florian Westphal
2017-10-16 13:44 ` [PATCH net-next 1/2] rtnetlink: place link af dump into own helper Florian Westphal
2017-10-16 13:44 ` [PATCH net-next 2/2] net: core: rcu-ify rtnl af_ops Florian Westphal
2017-10-16 20:26 ` [PATCH net-next 0/2] net: core: rcuify " David Miller

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).