[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <34947339.t7yNZRQCJl@sven-edge>
Date: Thu, 31 Oct 2019 17:45:40 +0100
From: Sven Eckelmann <sven@...fation.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: davem@...emloft.net, mareklindner@...mailbox.ch,
sw@...onwunderlich.de, a@...table.cc,
b.a.t.m.a.n@...ts.open-mesh.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] batman-adv: Axe 'aggr_list_lock'
On Thursday, 31 October 2019 09:52:40 CET Christophe JAILLET wrote:
> 'aggr_list.lock' can safely be used in place of another explicit spinlock
> when access to 'aggr_list' has to be guarded.
>
> This avoids to take 2 locks, knowing that the 2nd one is always successful.
>
> Now that the 'aggr_list.lock' is handled explicitly, the lock-free
> __sbk_something() variants should be used when dealing with 'aggr_list'.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> Compile tested only.
Applied together with your other patch.
Thanks,
Sven
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists