From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
will.deacon@arm.com, mark.rutland@arm.com, snitzer@redhat.com,
thor.thayer@linux.intel.com, viro@zeniv.linux.org.uk,
davem@davemloft.net, shuah@kernel.org, mpe@ellerman.id.au,
tj@kernel.org
Subject: Re: [GIT PULL de-alpha] Make core code not need to know about Alpha for v4.15
Date: Wed, 25 Oct 2017 06:18:02 -0700 [thread overview]
Message-ID: <20171025131802.GL3659@linux.vnet.ibm.com> (raw)
In-Reply-To: <20171025090443.g6aahmn3ggu6vcon@gmail.com>
On Wed, Oct 25, 2017 at 11:04:43AM +0200, Ingo Molnar wrote:
>
> * Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
>
> > On Wed, Oct 25, 2017 at 10:45:48AM +0200, Ingo Molnar wrote:
> > >
> > > * Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
> > >
> > > > Hello, Ingo,
> > > >
> > > > This series is a first step towards making the core kernel no longer
> > > > need to consider DEC Alpha as a special case. This is accomplished
> > > > by two sets of patches, followed by a Coccinelle script:
> > > >
> > > > 1. Patches 1/19 through 15/19 in the following patches, which
> > > > change non-Coccinelle-susceptible instances of ACCESS_ONCE()
> > > > to either READ_ONCE() or WRITE_ONCE(), as appropriate. Most of
> > > > these patches are courtesy of Mark Rutland.
> > > >
> > > > 2. Patches 16/19 through 18/19 in the following patches, which
> > > > add smp_read_barrier_depends() to READ_ONCE() and to Alpha's
> > > > value-returning _release and _relaxed atomic read-modify-write
> > > > operations, while also removing lockless_dereference() in favor
> > > > of the modified READ_ONCE().
> > > >
> > > > 3. A patch generated by Coccinelle (script in commit log) that
> > > > converts ACCESS_ONCE() to either READ_ONCE() or WRITE_ONCE(),
> > > > as appropriate. Of course, this patch should not be applied
> > > > as-is to mainline, instead, the Coccinelle script should be
> > > > re-run in order to account for any changes between now and
> > > > the time of merging into mainline.
> > > >
> > > > A later series (most likely targeted to v4.16) will remove instances of
> > > > smp_read_barrier_depends() that are made redundant by this series, that
> > > > is to say, almost all of them.
> > > >
> > > > These changes are available in the git repository at:
> > > >
> > > > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/alpha-cocci
> > > >
> > > > for you to fetch changes up to d19fa5187a69bd7685e9c7452ce9e339b1b079fc:
> > > >
> > > > COCCINELLE: treewide: kill off ACCESS_ONCE() (2017-10-21 12:52:09 -0700)
> > > >
> > > > ----------------------------------------------------------------
> > > > Mark Rutland (14):
> > > > dm integrity: Kill off ACCESS_ONCE()
> > > > EDAC, altera: Kill off ACCESS_ONCE()
> > > > firmware/ivc: Kill off ACCESS_ONCE()
> > > > fs: dcache: Kill off ACCESS_ONCE()
> > > > fs: ncpfs: Kill off ACCESS_ONCE()
> > > > media: dvb_ringbuffer: Kill off ACCESS_ONCE()
> > > > net: netlink/netfilter: Kill off ACCESS_ONCE()
> > > > net/ipv4/tcp_input.c: Kill off ACCESS_ONCE()
> > > > net: average: Kill off ACCESS_ONCE()
> > > > samples: mic/mpssd/mpssd.c: Kill off ACCESS_ONCE()
> > > > selftests/powerpc: Kill off ACCESS_ONCE()
> > > > workqueue: Kill off ACCESS_ONCE()
> > > > rcutorture: formal: Prepare for ACCESS_ONCE() removal
> > > > COCCINELLE: treewide: kill off ACCESS_ONCE()
> > >
> > > None of the patches from Mark include your Signed-off-by - I'll add them, let me
> > > know if that's not OK. I suppose this happened because you rebased his tree?
> >
> > I did pull his tree rather than applying from email, [...]
>
> You might have pulled it, but the commits in rcu/alpha-cocci suggest that the tree
> was also rebased:
>
> commit d19fa5187a69bd7685e9c7452ce9e339b1b079fc
> Author: Mark Rutland <mark.rutland@arm.com>
> AuthorDate: Thu Oct 19 10:42:03 2017 -0700
> Commit: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
> CommitDate: Sat Oct 21 12:52:09 2017 -0700
>
> COCCINELLE: treewide: kill off ACCESS_ONCE()
>
> Note the "Commit:" field which says the commit was created by you, not by Mark.
Hmmm... Looking back through my old versions, it looks like my original
pull from Mark's git tree did the rebase. Not sure how that happened,
given that both are based on v4.14-rc4. I am going to have to proceed
more carefully next time!
Thanx, Paul
prev parent reply other threads:[~2017-10-25 13:18 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-23 21:04 [GIT PULL de-alpha] Make core code not need to know about Alpha for v4.15 Paul E. McKenney
2017-10-23 21:07 ` [PATCH 01/19] dm integrity: Kill off ACCESS_ONCE() Paul E. McKenney
2017-10-23 21:07 ` Paul E. McKenney
2017-10-23 21:07 ` [PATCH 02/19] EDAC, altera: " Paul E. McKenney
2017-10-23 21:07 ` Paul E. McKenney
2017-10-23 21:07 ` [PATCH 03/19] firmware/ivc: " Paul E. McKenney
2017-10-23 21:07 ` Paul E. McKenney
2017-10-23 21:07 ` [PATCH 04/19] fs: dcache: " Paul E. McKenney
2017-10-23 21:07 ` Paul E. McKenney
2017-10-23 21:07 ` [PATCH 05/19] fs: ncpfs: " Paul E. McKenney
2017-10-23 21:07 ` [PATCH 06/19] media: dvb_ringbuffer: " Paul E. McKenney
2017-10-23 21:07 ` Paul E. McKenney
2017-10-23 21:07 ` [PATCH 07/19] net: netlink/netfilter: " Paul E. McKenney
2017-10-23 21:07 ` [PATCH 08/19] net/ipv4/tcp_input.c: " Paul E. McKenney
2017-10-23 21:07 ` Paul E. McKenney
2017-10-23 21:07 ` [PATCH 09/19] net: average: " Paul E. McKenney
2017-10-24 5:58 ` Johannes Berg
2017-10-24 5:58 ` Johannes Berg
2017-10-24 9:34 ` Ingo Molnar
2017-10-24 9:34 ` Ingo Molnar
2017-10-24 13:49 ` Paul E. McKenney
2017-10-23 21:07 ` [PATCH 10/19] samples: mic/mpssd/mpssd.c: " Paul E. McKenney
2017-10-23 21:07 ` [PATCH 11/19] selftests/powerpc: " Paul E. McKenney
2017-10-23 21:07 ` Paul E. McKenney
2017-10-23 21:07 ` [PATCH 12/19] workqueue: " Paul E. McKenney
2017-10-23 21:07 ` [PATCH 13/19] rcutorture: formal: Prepare for ACCESS_ONCE() removal Paul E. McKenney
2017-10-23 21:07 ` [PATCH 14/19] doc: filesystems: Kill off ACCESS_ONCE() Paul E. McKenney
2017-10-23 21:07 ` [PATCH 15/19] mm: " Paul E. McKenney
2017-10-23 21:07 ` [PATCH 16/19] linux/compiler.h: Split into compiler.h and compiler-types.h Paul E. McKenney
2017-10-23 21:07 ` Paul E. McKenney
2017-10-24 9:25 ` Ingo Molnar
2017-10-24 9:30 ` Will Deacon
2017-10-24 9:30 ` Will Deacon
2017-10-24 9:52 ` Ingo Molnar
2017-10-24 9:52 ` Ingo Molnar
2017-10-23 21:07 ` [PATCH 17/19] locking/barriers: Kill lockless_dereference Paul E. McKenney
2017-10-23 21:07 ` Paul E. McKenney
2017-10-24 9:31 ` Ingo Molnar
2017-10-24 9:31 ` Ingo Molnar
2017-10-24 9:44 ` Will Deacon
2017-10-24 9:44 ` Will Deacon
2017-10-24 9:54 ` Ingo Molnar
2017-10-24 9:54 ` Ingo Molnar
2017-10-24 10:23 ` Will Deacon
2017-10-23 21:07 ` [PATCH 18/19] alpha: atomics: Add smp_read_barrier_depends() to release/relaxed atomics Paul E. McKenney
2017-10-23 21:07 ` [PATCH 19/19] COCCINELLE: treewide: kill off ACCESS_ONCE() Paul E. McKenney
2017-10-24 9:32 ` [GIT PULL de-alpha] Make core code not need to know about Alpha for v4.15 Ingo Molnar
2017-10-24 9:32 ` Ingo Molnar
2017-10-25 8:45 ` Ingo Molnar
2017-10-25 8:54 ` Paul E. McKenney
2017-10-25 9:04 ` Ingo Molnar
2017-10-25 9:04 ` Ingo Molnar
2017-10-25 13:18 ` Paul E. McKenney [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171025131802.GL3659@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=davem@davemloft.net \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mingo@kernel.org \
--cc=mpe@ellerman.id.au \
--cc=shuah@kernel.org \
--cc=snitzer@redhat.com \
--cc=thor.thayer@linux.intel.com \
--cc=tj@kernel.org \
--cc=viro@zeniv.linux.org.uk \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).