[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180220151857.542d7225@xeon-e3>
Date: Tue, 20 Feb 2018 15:18:57 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Kirill Tkhai <ktkhai@...tuozzo.com>
Cc: davem@...emloft.net, nicolas.dichtel@...nd.com,
vyasevic@...hat.com, paulmck@...ux.vnet.ibm.com,
vyasevich@...il.com, mark.rutland@....com,
gregkh@...uxfoundation.org, leonro@...lanox.com,
avagin@...tuozzo.com, fw@...len.de, roman.kapl@...go.com,
netdev@...r.kernel.org
Subject: Re: [PATCH 1/3] net: Kill net_mutex
On Mon, 19 Feb 2018 12:58:38 +0300
Kirill Tkhai <ktkhai@...tuozzo.com> wrote:
> + struct list_head exit_list; /* To linked to call pernet exit
> + * methods on dead net (net_sem
> + * read locked), or to unregister
> + * pernet ops (net_sem wr locked).
> + */
Sorry, that comment is completely unparseable.
Either you know what it does, and therefore comment is unnecessary
Or change comment to a valid explanation of the semantics of the list.
Maybe comments about locking model are best left to where
it is used in the code.
Powered by blists - more mailing lists