Re: [2.6.33-rc4] sysfs lockdep warnings on cpu hotplug

From: AmÃrico Wang
Date: Thu Jan 21 2010 - 23:42:45 EST


On Thu, Jan 21, 2010 at 11:53 PM, Heiko Carstens
<heiko.carstens@xxxxxxxxxx> wrote:
> Hi Eric,
>
> rumours are that you could be responsible for the following lockdep message:
>
> Happens on cpu hotplug on s390:
>
> =============================================
> [ INFO: possible recursive locking detected ]
> 2.6.33-rc4-00399-g24bc734 #1
> ---------------------------------------------
> bash/2576 is trying to acquire lock:
> Â(s_active){++++.+}, at: [<000000000016c506>] sysfs_addrm_finish+0x5a/0xa8
>
> but task is already holding lock:
> Â(s_active){++++.+}, at: [<000000000016c90c>] sysfs_get_active_two+0x64/0x88
>
> other info that might help us debug this:
> 5 locks held by bash/2576:
> Â#0: Â(&buffer->mutex){+.+.+.}, at: [<000000000016a912>] sysfs_write_file+0x4a/0x1a8
> Â#1: Â(s_active){++++.+}, at: [<000000000016c90c>] sysfs_get_active_two+0x64/0x88
> Â#2: Â(s_active){++++.+}, at: [<000000000016c8e6>] sysfs_get_active_two+0x3e/0x88
> Â#3: Â(cpu_add_remove_lock){+.+.+.}, at: [<00000000003dd318>] cpu_down+0x44/0x88
> Â#4: Â(cpu_hotplug.lock){+.+.+.}, at: [<0000000000056eee>] cpu_hotplug_begin+0x3e/0x74
>

I think this is the same with the problem we met some days ago,

http://lkml.org/lkml/2010/1/10/282

does this patch from Erich help?

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