Thread (2 messages) 2 messages, 2 authors, 2019-10-31

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

From: Sven Eckelmann <sven@narfation.org>
Date: 2019-10-31 16:45:47
Also in: batman, kernel-janitors, lkml

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 <redacted>
---
Compile tested only.
Applied together with your other patch.

Thanks,
	Sven

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help