Re: linux-next: percpu tree build warning

From: Rusty Russell
Date: Thu Nov 26 2009 - 17:21:50 EST


On Thu, 26 Nov 2009 12:10:58 am Ingo Molnar wrote:
> While a percpu variable is defined and used in completely different
> ways:
>
> DEFINE_PER_CPU(unsigned long, dr7);
>
> and is used via:
>
> __get_cpu_var(dr7); [[Fixed -- RR]]

The entire point of Tejun's per-cpu work is that &dr7 is now valid. A per-cpu
pointer as if it were allocated by the dynamic per-cpu allocator.

Your arguments are fine, but out-of-date.

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