Messages in this thread | | | Date | Tue, 13 May 2008 08:23:13 -0700 | From | Andrew Morton <> | Subject | Re: oprofile BUG() in current kernel. |
| |
On Tue, 13 May 2008 12:25:26 +0200 Eric Dumazet <dada1@cosmosbay.com> wrote:
> Current module loader only allocates percpu room by examining > ".data.percpu" section and should be augmented to also look at > ".data.percpu.shared_aligned" > Or, change DEFINE_PER_CPU_SHARED_ALIGNED() for modules (to use > ".data.percpu" only)
Well that's a little landmine. Seems that this was the first attempt to use DEFINE_PER_CPU_SHARED_ALIGNED from within a module.
> Anyway, with the per_cpu conversion of cpu_buffer, we dont need to > request cache_line alignment anymore > > [PATCH] oprofile: Dont request cache line alignment for cpu_buffer
Thanks. Silly me for looking at the nearly-one-year-old DEFINE_PER_CPU_SHARED_ALIGNED and assuming that it worked :(
| |