[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170217.151036.1084044129536261272.davem@davemloft.net>
Date: Fri, 17 Feb 2017 15:10:36 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: fgao@...ai8.com
Cc: jhs@...atatu.com, netdev@...r.kernel.org, gfree.wind@...il.com
Subject: Re: [PATCH net-next 1/1] pkt_sched: Remove useless qdisc_stab_lock
From: fgao@...ai8.com
Date: Fri, 17 Feb 2017 14:34:19 +0800
> From: Gao Feng <fgao@...ai8.com>
>
> The qdisc_stab_lock is used in qdisc_get_stab and qdisc_put_stab.
> These two functions are invoked in qdisc_create, qdisc_change, and
> qdisc_destroy which run fully under RTNL.
>
> So it already makes sure only one could access the qdisc_stab_list at
> the same time. Then it is unnecessary to use qdisc_stab_lock now.
>
> Signed-off-by: Gao Feng <fgao@...ai8.com>
Applied, thank you.
Powered by blists - more mailing lists