Re: general protection fault: 0000 [#1] PREEMPT SMP

From: Tejun Heo
Date: Tue Aug 24 2010 - 05:03:42 EST


Hello,

On 08/13/2010 03:47 PM, Sergey Senozhatsky wrote:
> [ 29.943019] [<ffffffff81065893>] lock_acquire+0x97/0xb6
..
> [ 29.943257] [<ffffffff8137568d>] _raw_spin_lock_irqsave+0x4e/0x60
..
> [ 29.943376] [<ffffffff8137145b>] percpu_counter_hotcpu_callback+0x3e/0x93

It's getting gpf at spin_lock_irqsave(&fbc->lock) in
percpu_counter_hotplug_callback(). percpu_counter keeps track of all
the allocated percpu counters and walk them on cpu up/down events.
It's most likely one of its users freed or corrupted the percpu
counter structure without properly destroying it. Adding debugobj is
probably the best way to track down the offending user.

Thanks.

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