Re: [PATCH net-next v12 1/5] net: Introduce generic failover module

From
Jiri Pirko <jiri@resnulli.us>
Date
2018-05-26 07:43:32
Reply to
Stephen Hemminger, 2018-05-25
Sat, May 26, 2018 at 12:37:44AM CEST, stephen@networkplumber.org wrote:
On Thu, 24 May 2018 09:55:13 -0700
Sridhar Samudrala [off-list ref] wrote:

quoted
+	spin_lock(&failover_lock);
Since register is not in fast path, this should be a mutex?
I don't get it. Why would you prefer mutex over spinlock here?
Thread (28 messages) 28 messages, 6 authors, last reply 2018-05-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help