From: Peter Zijlstra <peterz@infradead.org>
To: Pranith Kumar <bobby.prani@gmail.com>
Cc: paulmck@linux.vnet.ibm.com, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [RFC PATCH v2 1/1] rename {before/after}_atomic_{inc/dec} to {before/after}_atomic
Date: Thu, 29 May 2014 08:43:02 +0200 [thread overview]
Message-ID: <20140529064302.GG19143@laptop.programming.kicks-ass.net> (raw)
In-Reply-To: <5386B75A.3010806@gmail.com>
On Thu, May 29, 2014 at 12:28:10AM -0400, Pranith Kumar wrote:
> There is no reason to have separete barriers for atomic_inc and atomic_dec.
> All the architectures use the same barriers for both.
>
> We can simplify it and just have {before/after}_atomic after renaming.
>
> I used coccinelle script to do the renames in the C files and did the rename by hand in the headers.
>
> v2:
> * remove duplicate macros in missed files
> * correct indentation
>
> Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
See http://marc.info/?l=linux-kernel&m=139782635207358 and the 20 or so
patches afterwards.
This has already been done. See a -next tree or so near you.
next prev parent reply other threads:[~2014-05-29 6:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 4:28 [RFC PATCH v2 1/1] rename {before/after}_atomic_{inc/dec} to {before/after}_atomic Pranith Kumar
2014-05-29 4:44 ` Pranith Kumar
2014-05-29 6:43 ` Peter Zijlstra [this message]
2014-05-29 12:52 ` Pranith Kumar
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=20140529064302.GG19143@laptop.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=bobby.prani@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@linux.vnet.ibm.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