[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8eab5365-45d7-4d48-ecc8-760e388b9e8e@gmail.com>
Date: Wed, 5 Jan 2022 19:28:34 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Vladimir Oltean <vladimir.oltean@....com>, netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>
Subject: Re: [PATCH v2 net-next 2/6] net: dsa: merge rtnl_lock sections in
dsa_slave_create
On 1/5/2022 3:11 PM, Vladimir Oltean wrote:
> Currently dsa_slave_create() has two sequences of rtnl_lock/rtnl_unlock
> in a row. Remove the rtnl_unlock() and rtnl_lock() in between, such that
> the operation can execute slighly faster.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@....com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists