Re: [PATCH 9 of 20] ipath - char devices for diagnostics and lightweight subnet management

From: Roland Dreier
Date: Fri Mar 10 2006 - 17:18:52 EST


Bryan> Probably not much. The motivation was to ensure that if it
Bryan> got incremented during an iteration, whoever was iterating
Bryan> would see the update in a timely fashion.

But as far as I can see, you never do atomic_inc() -- only
atomic_set() under a spinlock.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/