Re: [PATCH tip/core/rcu 4/4] documentation: Update circular buffer for load-acquire/store-release

From: David Howells
Date: Sat Nov 16 2013 - 07:00:00 EST


Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> wrote:

> - /* read index before reading contents at that index */

> - smp_mb(); /* finish reading descriptor before incrementing tail */

I'd rather you didn't remove these comments (assuming they're correct) as
they're pointing out the point of the example.

David
--
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/