Re: [RFC PATCH] x86: Use volatile semantics for atomic_set()
From: Peter Zijlstra
Date: Mon Sep 22 2014 - 16:08:19 EST
On Mon, Sep 22, 2014 at 03:39:21PM -0400, Pranith Kumar wrote:
> All the atomic operations have volatile semantics to prevent compiler
> reordering. Enforce the same semantics for atomic_set() too.
To what point? atomic_set() is typically not what you expect it to
anyhow.
--
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/