Re: [GIT PULL] locking changes for v4.4
From: Ingo Molnar
Date: Wed Nov 04 2015 - 06:48:59 EST
* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > I think I'll pull this, but then just make a separate commit to remove
Thanks!
> > all the bogus games with "control" dependencies that seem to have no basis is
> > reality.
>
> So the attached is what I committed in my tree. [...]
Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>
> + dependency into nonexistence. Careful use of READ_ONCE() or
> + atomic{,64}_read() can help to preserve your control dependency.
> + Please see the Compiler Barrier section for more information.
So technically it's the "COMPILER BARRIER" section, but this is a pre-existing
formulation and the document doesn't use such references consistently so I guess
it doesn't matter much.
Thanks,
Ingo
--
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/