Re: [PATCH] x86/mce: Rework cmci_rediscover() to play well with CPU hotplug

From: Tony Luck
Date: Wed Mar 20 2013 - 19:28:51 EST


Looks lots cleaner. Applied on top of 3.9.rc3 and took it for a spin
offlining and onlining cpus at random intervals. First time round I
saw a few splats like the one below. But after a reboot I can no
longer reproduce.

-Tony

INFO: task devkit-power-da:19861 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
devkit-power-da D ffff8810114cd048 0 19861 1 0x00000080
ffff88101063b828 0000000000000082 ffff8810114cca80 ffff88101063bfd8
ffff88101063bfd8 ffff88101063bfd8 ffff88081fa18040 ffff8810114cca80
ffff88101063b808 ffff88080c0cf800 0000000000000000 ffff88101063b8b0
Call Trace:
[<ffffffff815dcd39>] schedule+0x29/0x70
[<ffffffff81478865>] usb_kill_urb+0x85/0xc0
[<ffffffff810771f0>] ? wake_up_bit+0x40/0x40
[<ffffffff81479b08>] usb_start_wait_urb+0xd8/0x160
[<ffffffff81479dec>] usb_control_msg+0xcc/0x110
[<ffffffff81479ef3>] ? usb_get_status+0x43/0xc0
[<ffffffff81479f33>] usb_get_status+0x83/0xc0
[<ffffffff8146e707>] ? usb_set_device_state+0x127/0x160
[<ffffffff81471fa6>] usb_port_resume+0x2c6/0x630
[<ffffffff810135d1>] ? __switch_to+0x181/0x4a0
[<ffffffff81485935>] generic_resume+0x15/0x30
[<ffffffff8147c405>] usb_resume_both+0x105/0x150
[<ffffffff8147d8aa>] usb_runtime_resume+0x1a/0x20
[<ffffffff813b5bd1>] __rpm_callback+0x31/0x90
[<ffffffff813b5c5f>] rpm_callback+0x2f/0x90
[<ffffffff813b6d5c>] rpm_resume+0x40c/0x670
[<ffffffff810771f0>] ? wake_up_bit+0x40/0x40
[<ffffffff813b725c>] __pm_runtime_resume+0x5c/0x90
[<ffffffff8147cee9>] usb_autoresume_device+0x29/0x60
[<ffffffff81482b50>] usbdev_open+0x110/0x210
[<ffffffff8116dc4c>] chrdev_open+0x9c/0x180
[<ffffffff811677df>] do_dentry_open+0x20f/0x2c0
[<ffffffff8116dbb0>] ? cdev_put+0x30/0x30
[<ffffffff811678c5>] finish_open+0x35/0x50
[<ffffffff81177e5e>] do_last+0x6de/0xde0
[<ffffffff811749a8>] ? inode_permission+0x18/0x50
[<ffffffff81174a58>] ? link_path_walk+0x78/0x880
[<ffffffff81178617>] path_openat+0xb7/0x4a0
[<ffffffff81178cc1>] do_filp_open+0x41/0xa0
[<ffffffff81185382>] ? __alloc_fd+0x42/0x110
[<ffffffff81168c24>] do_sys_open+0xf4/0x1e0
[<ffffffff81014959>] ? do_notify_resume+0x59/0x80
[<ffffffff81168d31>] sys_open+0x21/0x30
[<ffffffff815e6159>] system_call_fastpath+0x16/0x1b
--
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/