Re: [this_cpu_xx V9 4/7] Generic inc / dec percpu instructions

From: Christoph Lameter
Date: Tue Jan 05 2010 - 10:22:43 EST


On Tue, 5 Jan 2010, Tejun Heo wrote:

> According to gcc doc, __builtin_constant_p() returns 1 on constant and
> 0 if not. It doesn't return the original expression. I'll commit the
> following updated version after testing.

Great. Thanks. That means that most of the percpu uses currently are incs
and decs not adds. Machine worked fine with the buggy patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/