diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-10-31 09:52:40 +0100 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2019-11-03 08:30:58 +0100 |
commit | baa1e8a0da768d9b9c34b47f2cc6c6db67a265c4 (patch) | |
tree | b7c6e856055d8efffbda7f1ad761b04fbebab1d3 /fs/mbcache.c | |
parent | 9044854e4b8b2cf60fc309a1f2288f7acda6ca6b (diff) | |
download | linux-baa1e8a0da768d9b9c34b47f2cc6c6db67a265c4.tar.gz linux-baa1e8a0da768d9b9c34b47f2cc6c6db67a265c4.tar.bz2 linux-baa1e8a0da768d9b9c34b47f2cc6c6db67a265c4.zip |
batman-adv: Axe 'aggr_list_lock'
'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@wanadoo.fr>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions