Re: [PATCH v4 tip/core/locking 0/4] Memory-barrier documentationupdates

From: Henrik Austad
Date: Thu Dec 05 2013 - 06:00:26 EST


On Wed, Dec 04, 2013 at 02:46:28PM -0800, Paul E. McKenney wrote:
> Hello!

Hi Paul,

> This series applies some long-needed updates to memory-barriers.txt:
>
> 1. Add ACCESS_ONCE() calls where needed to ensure their inclusion
> in code copy-and-pasted from this file.
>
> 2. Add long atomic examples alongside the existing atomics.
>
> 3. Prohibit architectures supporting the Linux kernel from
> speculating stores.

Just me, or is the 3rd patch missing from lkml?

> 4. Document what ACCESS_ONCE() does along with a number of situations
> requiring its use.

This was very useful, thanks! :)

--
Henrik Austad
--
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/