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 - 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/
- Follow-Ups:
- Re: [PATCH 9 of 20] ipath - char devices for diagnostics and lightweight subnet management
- From: Roland Dreier <rdreier@cisco.com>
- Re: [PATCH 9 of 20] ipath - char devices for diagnostics and lightweight subnet management
- References:
- [PATCH 9 of 20] ipath - char devices for diagnostics and lightweight subnet management
- From: "Bryan O'Sullivan" <bos@pathscale.com>
- Re: [PATCH 9 of 20] ipath - char devices for diagnostics and lightweight subnet management
- From: Roland Dreier <rdreier@cisco.com>
- [PATCH 9 of 20] ipath - char devices for diagnostics and lightweight subnet management
- Prev by Date: Re: [RFC PATCH] ext3 writepage() journal avoidance
- Next by Date: Re: Revenge of the sysfs maintainer! (was Re: [PATCH 8 of 20] ipath - sysfs support for core driver)
- Previous by thread: Re: [PATCH 9 of 20] ipath - char devices for diagnostics and lightweight subnet management
- Next by thread: Re: [PATCH 9 of 20] ipath - char devices for diagnostics and lightweight subnet management
- Index(es):
![]() |