[openib-general] Re: [PATCH 9 of 20] ipath - char devices for	diagnostics and lightweight subnet management
    Bryan O'Sullivan 
    bos at pathscale.com
       
    Thu Mar  9 16:47:02 PST 2006
    
    
  
On Thu, 2006-03-09 at 16:45 -0800, Roland Dreier wrote:
> So why is ipath_sma_alive an atomic_t (and why isn't it static)?
> You never modify ipath_sma_alive outside of your spinlock, so I don't
> see what having it be atomic buys you.
It's read outside of this file, without a lock held.
	<b
    
    
More information about the general
mailing list