Re: [PATCH] batman-adv: Axe 'aggr_list_lock'

From: Sven Eckelmann
Date: Thu Oct 31 2019 - 12:45:47 EST


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@xxxxxxxxxx>
> ---
> Compile tested only.

Applied together with your other patch.

Thanks,
Sven

Attachment: signature.asc
Description: This is a digitally signed message part.