[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <4A9795DC0200007800012068@vpn.id2.novell.com>
Date: Fri, 28 Aug 2009 07:31:24 +0100
From: "Jan Beulich" <JBeulich@...ell.com>
To: "Tejun Heo" <tj@...nel.org>
Cc: <mingo@...e.hu>, <tglx@...utronix.de>,
<linux-kernel@...r.kernel.org>, "H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH] x86: make use of inc/dec conditional
>>> Tejun Heo <tj@...nel.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists