[PATCH 00/05] robust per_cpu allocation for modules

Andrew Morton akpm at osdl.org
Sat Apr 15 08:06:25 EST 2006


Steven Rostedt <rostedt at goodmis.org> wrote:
>
> Example:
> 
>  DEFINE_PER_CPU(int, myint);
> 
>  would now create a variable called per_cpu_offset__myint in
> the .data.percpu_offset section.

Suppose two .c files each have

	DEFINE_STATIC_PER_CPU(myint)

Do we end up with two per_cpu_offset__myint's in the same section?



More information about the Linuxppc-dev mailing list