linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nicholas Piggin <npiggin@gmail.com>
To: Tejun Heo <tj@kernel.org>
Cc: Christoph Lameter <cl@linux.com>,
	linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] percpu: improve generic percpu modify-return implementation
Date: Fri, 23 Sep 2016 17:33:51 +1000	[thread overview]
Message-ID: <20160923173351.74a0dd0d@roar.ozlabs.ibm.com> (raw)
In-Reply-To: <20160922160749.GD1892@htj.duckdns.org>

On Thu, 22 Sep 2016 12:07:49 -0400
Tejun Heo <tj@kernel.org> wrote:

> Hello,
> 
> On Thu, Sep 22, 2016 at 02:35:00PM +1000, Nicholas Piggin wrote:
> > Well thank you, how about you?  
> 
> Heh, can't complain.  Hope to see you around sometime.  It's been
> forever.

Yeah, it has been. Hopefully I'll see you around.


> > Trying a new mail client, sorry. It *seems* to be working now, how's
> > this?  
> 
> Hmm... Still encoded.

It looks to be a helpful surprise feature of claws. Any line starting with
the word "From" make it go q-p due to some mail servers treating that
differently. Sigh.

> 
> > From d0cb9052d6f4c31d24f999b7b0cecb34681eee9b Mon Sep 17 00:00:00 2001
> > From: Nicholas Piggin <npiggin@gmail.com>
> > Date: Wed, 21 Sep 2016 18:23:43 +1000
> > Subject: [PATCH] percpu: improve generic percpu modify-return implementations
> > 
> > Some architectures require an additional load to find the address of
> > percpu pointers. In some implemenatations, the C aliasing rules do not
> > allow the result of that load to be kept over the store that modifies
> > the percpu variable, which causes additional loads.
> > 
> > Work around this by finding the pointer first, then operating on that.
> > 
> > It's also possible to mark things as restrict and those kind of games,
> > but that can require larger and arch specific changes.  
> 
> QP-decoded and applied to percpu/for-4.9.
> 
> Thanks.
> 

Thanks!

      parent reply	other threads:[~2016-09-23  7:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21  8:51 [PATCH] percpu: improve generic percpu modify-return implementation Nicholas Piggin
2016-09-21  8:51 ` Nicholas Piggin
2016-09-21 10:25 ` kbuild test robot
2016-09-21 10:25   ` kbuild test robot
2016-09-21 10:30 ` kbuild test robot
2016-09-21 10:30   ` kbuild test robot
2016-09-21 10:30 ` kbuild test robot
2016-09-21 10:30   ` kbuild test robot
2016-09-21 10:57 ` Nicholas Piggin
2016-09-21 14:23   ` Tejun Heo
2016-09-21 14:23     ` Tejun Heo
2016-09-21 20:16     ` Christoph Lameter
2016-09-21 20:16       ` Christoph Lameter
2016-09-22  4:42       ` Nicholas Piggin
2016-09-22  4:35     ` Nicholas Piggin
2016-09-22  4:35       ` Nicholas Piggin
2016-09-22 16:07       ` Tejun Heo
2016-09-22 16:07         ` Tejun Heo
2016-09-23  7:33         ` Nicholas Piggin [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=20160923173351.74a0dd0d@roar.ozlabs.ibm.com \
    --to=npiggin@gmail.com \
    --cc=cl@linux.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=tj@kernel.org \
    /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).