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

Tejun Heo
2010-08-24T09:03:39Z

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