Re: percpu memory setup and num_possible_cpus() vs. nr_cpu_ids

From: Jan Beulich
Date: Fri May 29 2009 - 02:27:09 EST

>>> Tejun Heo <teheo@xxxxxxxxxx> 29.05.09 02:38 >>>
>There's other related larger issue. It looks like possible but
>offline configuration can be quite common with virtualization and
>allocating for all possible cpus on boot can waste problematic amount
>of space, so the plan is to allocate only for online cpus on boot and
>allocate the rest as cpus come online. This will require audit of
>percpu users and probably a new cpumask representing cpus which have
>ever been up.
>The issue you're describing should be solved when the above is
>implemented, right?

Yes, I think so.


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