From: "Jan Beulich" <JBeulich@novell.com>
To: "Tejun Heo" <tj@kernel.org>
Cc: <mingo@elte.hu>, <tglx@linutronix.de>,
<linux-kernel@vger.kernel.org>, "H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] x86: make use of inc/dec conditional
Date: Fri, 28 Aug 2009 07:31:24 +0100 [thread overview]
Message-ID: <4A9795DC0200007800012068@vpn.id2.novell.com> (raw)
In-Reply-To: <4A9636EB.7020408@kernel.org>
>>> Tejun Heo <tj@kernel.org> 27.08.09 09:34 >>>
>For the percpu part, wouldn't it be better to have
>__builtin_contant_p() on the add/sub parameter, use inc/dec if the
>param is constant and 1 and make simple wrapper for inc/dec if still
>necessary?
Hmm, yes, I should give this a try.
Jan
prev parent reply other threads:[~2009-08-28 6:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-19 7:48 Jan Beulich
2009-08-19 8:01 ` Peter Zijlstra
2009-08-19 9:00 ` Jan Beulich
2009-08-19 9:06 ` Thomas Gleixner
2009-08-19 9:23 ` Jan Beulich
2009-08-19 9:56 ` Thomas Gleixner
2009-08-19 16:48 ` H. Peter Anvin
2009-08-20 7:12 ` Jan Beulich
2009-08-27 7:34 ` Tejun Heo
2009-08-28 6:31 ` Jan Beulich [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=4A9795DC0200007800012068@vpn.id2.novell.com \
--to=jbeulich@novell.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
--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
all inboxes | Powered by JetHome®