Re: [PATCH] ib_srpt: An IB SRP target

Roland Dreier
2011-02-21T16:21:32Z

On Mon, Feb 21, 2011 at 2:48 AM, Nicholas A. Bellinger
<nab-IzHhD5pYlfBP7FQvKIMDCQ@public.gmane.org> wrote:
> +       atomic_t                cmd_done;
> +       atomic_t                cmd_stop_free;

What's the point of using atomic_t here? AFAICT, you only use
atomic_set and atomic_read with them, which have no special
ordering powers (look at what those macros expand to).

- R.