> For what values of cpu is per_cpu(var,cpu) valid? For those where
> cpu_online(cpu) is true, or those where cpu_possible(cpu) is true?
> (I need to convert a memset() on the per_cpu_cache[] array to the
> per_cpu(,) framework.)
Currently for cpu_possible(), but there is a patchkit around that
makes it only true for cpu_online() so better assume that.
Of course that would require a hotplug CPU handler, but I would
just ignore that for now.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:27 EST