]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'pernet-all-async'
authorDavid S. Miller <davem@davemloft.net>
Tue, 27 Mar 2018 17:18:10 +0000 (13:18 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Mar 2018 17:18:10 +0000 (13:18 -0400)
commit248c09b0b876a31dad812f3fda2a4cf51aa5db0a
treedc2887c1b2089055ad7c2d13df0ea20b3a27969b
parent2cab9176c36808d2b0152741e85cf0b863053083
parent8b8f1e6585520ffa50b1c1070ea8cbcf17e75782
Merge branch 'pernet-all-async'

Kirill Tkhai says:

====================
Make pernet_operations always read locked

All the pernet_operations are converted, and the last one
is in this patchset (nfsd_net_ops acked by J. Bruce Fields).
So, it's the time to kill pernet_operations::async field,
and make setup_net() and cleanup_net() always require
the rwsem only read locked.

All further pernet_operations have to be developed to fit
this rule. Some of previous patches added a comment to
struct pernet_operations about that.

Also, this patchset renames net_sem to pernet_ops_rwsem
to make the target area of the rwsem is more clear visible,
and adds more comments.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>