Messages in this thread | | | Date | Fri, 25 Oct 2002 14:40:01 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] x86 performance counters driver 3.0-pre2 for 2.5.44: [2/4] x86 support |
| |
> 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/
| |