public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber•org>
To: Kirill Tkhai <ktkhai@virtuozzo•com>
Cc: davem@davemloft•net, vyasevic@redhat•com,
	kstewart@linuxfoundation•org, pombredanne@nexb•com,
	vyasevich@gmail•com, mark.rutland@arm•com,
	gregkh@linuxfoundation•org, adobriyan@gmail•com, fw@strlen•de,
	nicolas.dichtel@6wind•com, xiyou.wangcong@gmail•com,
	roman.kapl@sysgo•com, paul@paul-moore•com, dsahern@gmail•com,
	daniel@iogearbox•net, lucien.xin@gmail•com,
	mschiffer@universe-factory•net, rshearma@brocade•com,
	linux-kernel@vger•kernel.org, netdev@vger•kernel.org,
	ebiederm@xmission•com, avagin@virtuozzo•com,
	gorcunov@virtuozzo•com
Subject: Re: [PATCH] net: Convert net_mutex into rw_semaphore and down read it on net->init/->exit
Date: Tue, 14 Nov 2017 10:11:29 -0800	[thread overview]
Message-ID: <20171114101129.351d8aed@xeon-e3> (raw)
In-Reply-To: <151066759055.14465.9783879083192000862.stgit@localhost.localdomain>

On Tue, 14 Nov 2017 16:53:33 +0300
Kirill Tkhai <ktkhai@virtuozzo•com> wrote:

> +	/*
> +	 * RCU-protected list, modifiable by pernet-init and -exit methods.
> +	 * When net namespace is alive (net::count > 0), all the changes
> +	 * are made under rw_sem held on write.
> +	 */
> +	struct list_head	fib_notifier_ops;
>  

If you use __rcu annotation then it could be checked (and the comment is not needed).

  parent reply	other threads:[~2017-11-14 18:11 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-14 13:53 [PATCH] net: Convert net_mutex into rw_semaphore and down read it on net->init/->exit Kirill Tkhai
2017-11-14 17:07 ` Eric Dumazet
2017-11-14 17:25   ` Kirill Tkhai
2017-11-14 17:44 ` Andrei Vagin
2017-11-14 18:00   ` Eric Dumazet
2017-11-14 22:15     ` Andrei Vagin
2017-11-14 18:04   ` Kirill Tkhai
2017-11-14 18:38     ` Andrei Vagin
2017-11-14 20:43       ` Kirill Tkhai
2017-11-14 18:11 ` Stephen Hemminger [this message]
2017-11-14 19:07   ` Eric Dumazet
2017-11-14 18:39 ` Cong Wang
2017-11-14 19:58   ` Kirill Tkhai
2017-11-15  3:19     ` Eric W. Biederman
2017-11-15  9:51       ` Kirill Tkhai
2017-11-15 12:36         ` Kirill Tkhai
2017-11-15 16:31           ` Eric W. Biederman
2017-11-17 18:36             ` Kirill Tkhai
2017-11-17 18:52               ` Eric W. Biederman
2017-11-17 20:16                 ` Kirill Tkhai
2017-11-15  6:25 ` Eric W. Biederman
2017-11-15  9:49   ` Kirill Tkhai
2017-11-15 16:29     ` Eric W. Biederman
2017-11-16  9:13       ` Kirill Tkhai
2017-11-17 16:46       ` Kirill Tkhai
2017-11-17 18:54         ` Eric W. Biederman
2017-11-17 20:12           ` Kirill Tkhai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171114101129.351d8aed@xeon-e3 \
    --to=stephen@networkplumber$(echo .)org \
    --cc=adobriyan@gmail$(echo .)com \
    --cc=avagin@virtuozzo$(echo .)com \
    --cc=daniel@iogearbox$(echo .)net \
    --cc=davem@davemloft$(echo .)net \
    --cc=dsahern@gmail$(echo .)com \
    --cc=ebiederm@xmission$(echo .)com \
    --cc=fw@strlen$(echo .)de \
    --cc=gorcunov@virtuozzo$(echo .)com \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=kstewart@linuxfoundation$(echo .)org \
    --cc=ktkhai@virtuozzo$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=lucien.xin@gmail$(echo .)com \
    --cc=mark.rutland@arm$(echo .)com \
    --cc=mschiffer@universe-factory$(echo .)net \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=nicolas.dichtel@6wind$(echo .)com \
    --cc=paul@paul-moore$(echo .)com \
    --cc=pombredanne@nexb$(echo .)com \
    --cc=roman.kapl@sysgo$(echo .)com \
    --cc=rshearma@brocade$(echo .)com \
    --cc=vyasevic@redhat$(echo .)com \
    --cc=vyasevich@gmail$(echo .)com \
    --cc=xiyou.wangcong@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox