[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 15:49:49 PST 2006
On Thu, 2006-03-09 at 15:24 -0800, Roland Dreier wrote:
> It seems there's a window here where two processes can both pass the
> if (ipath_sma_alive) test and then proceed to step on each other.
Yep, this is a real race, albeit incredibly unlikely. I just turned
ipath_sma_alive into an atomic_t, and wrapped the open/close code in
spinlocks.
<b
More information about the general
mailing list