Re: [PATCH] x86: make use of inc/dec conditional

From: Jan Beulich
Date: Fri Aug 28 2009 - 02:32:17 EST

>>> Tejun Heo <tj@xxxxxxxxxx> 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

Hmm, yes, I should give this a try.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at