Re: [PATCH] define percpu_counter_batch when CONFIG_SMP is not set

From: Peter Zijlstra
Date: Thu Feb 04 2010 - 10:04:05 EST


On Thu, 2010-02-04 at 18:28 +0530, Nikanth Karthikesan wrote:
> On Thursday 04 February 2010 18:19:22 Nikanth Karthikesan wrote:
> > percpu_counter_batch is not defined if CONFIG_SMP is not set.
>
> The patch "sched: cpuacct: Use bigger percpu counter batch values for stats
> counters" in tip (43f85eab1411905afe5db510fbf9841b516e7e6a) would fail to
> build without this if CONFIG_SMP is not set.

Which is why it got reverted (e2dfc8a0356ee7e065bd5ec8a2ca0f9b61c2daef),
Anton also posted a new version that actually does build on UP.

--
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/