Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Dmitry Vyukov
On Wed, Nov 4, 2015 at 5:01 PM, Peter Zijlstra wrote: > On Wed, Nov 04, 2015 at 03:51:01PM +0100, Dmitry Vyukov wrote: >> To clarify, yes, documentation and tooling was my main motivation. > > Right; I don't object to having _ctrl() methods purely for documentation > purposes, I keep finding place

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Peter Zijlstra
On Wed, Nov 04, 2015 at 03:51:01PM +0100, Dmitry Vyukov wrote: > To clarify, yes, documentation and tooling was my main motivation. Right; I don't object to having _ctrl() methods purely for documentation purposes, I keep finding places we rely on them. Having them stand out better might be useful

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Wed, Nov 04, 2015 at 12:48:50PM +0100, Ingo Molnar wrote: > > > > * Linus Torvalds wrote: > > > > > On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds > > > wrote: > > > > > > > > I think I'll pull this, but then just make a separate commit to remove > > > > Thank

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Dmitry Vyukov
On Wed, Nov 4, 2015 at 5:16 AM, Paul E. McKenney wrote: > On Tue, Nov 03, 2015 at 05:30:29PM -0800, Linus Torvalds wrote: >> On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds >> wrote: >> > >> > I think I'll pull this, but then just make a separate commit to remove >> > all the bogus games with "con

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Paul E. McKenney
On Wed, Nov 04, 2015 at 12:37:01PM +0100, Peter Zijlstra wrote: > On Tue, Nov 03, 2015 at 05:30:29PM -0800, Linus Torvalds wrote: > > From 105ff3cbf225036b75a6a46c96d1ddce8e7bdc66 Mon Sep 17 00:00:00 2001 > > From: Linus Torvalds > > Date: Tue, 3 Nov 2015 17:22:17 -0800 > > Subject: [PATCH] atomic

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Paul E. McKenney
On Wed, Nov 04, 2015 at 12:48:50PM +0100, Ingo Molnar wrote: > > * Linus Torvalds wrote: > > > On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds > > wrote: > > > > > > I think I'll pull this, but then just make a separate commit to remove > > Thanks! > > > > all the bogus games with "control" de

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Ingo Molnar
* Linus Torvalds wrote: > On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds > 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

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Peter Zijlstra
On Tue, Nov 03, 2015 at 05:30:29PM -0800, Linus Torvalds wrote: > From 105ff3cbf225036b75a6a46c96d1ddce8e7bdc66 Mon Sep 17 00:00:00 2001 > From: Linus Torvalds > Date: Tue, 3 Nov 2015 17:22:17 -0800 > Subject: [PATCH] atomic: remove all traces of READ_ONCE_CTRL() and > atomic*_read_ctrl() > So I

Re: [GIT PULL] locking changes for v4.4

2015-11-03 Thread Paul E. McKenney
On Tue, Nov 03, 2015 at 05:30:29PM -0800, Linus Torvalds wrote: > On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds > wrote: > > > > I think I'll pull this, but then just make a separate commit to remove > > all the bogus games with "control" dependencies that seem to have no > > basis is reality. >

Re: [GIT PULL] locking changes for v4.4

2015-11-03 Thread Linus Torvalds
On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds wrote: > > I think I'll pull this, but then just make a separate commit to remove > 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. It took much longer to try to

Re: [GIT PULL] locking changes for v4.4

2015-11-03 Thread Linus Torvalds
On Tue, Nov 3, 2015 at 3:54 PM, Linus Torvalds wrote: > On Tue, Nov 3, 2015 at 1:16 AM, Ingo Molnar wrote: >> >> - More gradual enhancements to atomic ops: new atomic*_read_ctrl() ops, >> synchronize atomic_{read,set}() ordering requirements between >> architectures, >> add atomic_long

Re: [GIT PULL] locking changes for v4.4

2015-11-03 Thread Linus Torvalds
On Tue, Nov 3, 2015 at 1:16 AM, Ingo Molnar wrote: > > - More gradual enhancements to atomic ops: new atomic*_read_ctrl() ops, > synchronize atomic_{read,set}() ordering requirements between > architectures, > add atomic_long_t bitops. (Peter Zijlstra) >From another thread: those new "

[GIT PULL] locking changes for v4.4

2015-11-03 Thread Ingo Molnar
Linus, Please pull the latest locking-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-for-linus # HEAD: 6e490b0106a2118ee4c37c37847454a5c2dc6e32 ARM, locking/atomics: Implement _relaxed variants of atomic[64]_{inc,dec} The main change