Re: 2.6.15-rc5-mm3 -- BUG: using smp_processor_id() in preemptible [00000001] code: swapper/1

From: Dave Jones
Date: Thu Dec 15 2005 - 13:48:01 EST


On Thu, Dec 15, 2005 at 01:00:38AM -0800, Andrew Morton wrote:
> Andrew Morton <akpm@xxxxxxxx> wrote:
> >
> > > Here's the BUG output:
> > >
> > > [4294671.538000] Freeing unused kernel memory: 220k freed
> > > [4294671.538000] BUG: using smp_processor_id() in preemptible
> > > [00000001] code: swapper/1
> > > [4294671.539000] caller is mod_page_state_offset+0x12/0x28
> > > [4294671.539000] [<c1003723>] dump_stack+0x16/0x1a
> > > [4294671.539000] [<c110c1eb>] debug_smp_processor_id+0x77/0x90
> > > [4294671.539000] [<c10413d3>] mod_page_state_offset+0x12/0x28
>
> This'll plug the above.
>
> Nick, please turn on the nice debugging options in future?

For -mm, perhaps it would make sense to make some of them default to on ?

Dave

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