[1/3] kills net_mutex and makes net_sem be taken for write instead.
This is made to take less locks (1 instead of 2) for the time
before all pernet_operations are converted.
[2-3/3] simplifies dead net cleanup queueing, and makes llist api
be used for that.
---
Kirill Tkhai (3):
net: Kill net_mutex
net: Make cleanup_list and net::cleanup_list of llist type
net: Queue net_cleanup_work only if there is first net added
include/linux/rtnetlink.h | 1 -
include/net/net_namespace.h | 12 +++++--
net/core/net_namespace.c | 75 ++++++++++++++++++++++---------------------
3 files changed, 47 insertions(+), 41 deletions(-)
--
Signed-off-by: Kirill Tkhai <[email protected]>