Messages in this thread | | | Subject | Re: [PATCH 9 of 20] ipath - char devices for diagnostics and lightweight subnet management | From | Roland Dreier <> | Date | Thu, 09 Mar 2006 15:51:34 -0800 |
| |
Bryan> Yep, this is a real race, albeit incredibly unlikely. I Bryan> just turned ipath_sma_alive into an atomic_t, and wrapped Bryan> the open/close code in spinlocks.
How does making it an atomic_t help? I think you're only going to be using atomic_set() and atomic_read(), and atomic_t doesn't provide anything in that case.
- R. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |