Re: [PATCH 00/05] robust per_cpu allocation for modules

Andrew Morton
2006-04-14T22:06:25Z

Steven Rostedt <rostedt@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?