On Thu, 1 Sep 2016 15:25:14 +0200
David Lebrun <david.leb...@uclouvain.be> wrote:

> On 08/31/2016 07:10 PM, Stephen Hemminger wrote:
> > Since these are for control operations why a mutex?  
> 
> I am not sure to understand the question. The spinlock is used on the
> RCU write side of the namespace-wide parameters to prevent concurrent
> writes.
> 
> David
> 

If this lock is only being acquired in user context, then use a mutex
instead.

Attachment: pgpVyWjmpNEK1.pgp
Description: OpenPGP digital signature

Reply via email to