summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>2011-06-17 04:40:36 -0400
committerBorislav Petkov <borislav.petkov@amd.com>2011-09-14 15:50:15 +0200
commit9aaef96f61d93062556d34e15731f7d5869dd82e (patch)
tree211c712b62e3ba4e8444b02f59d91f8e61aca23c /drivers/power
parentb6fd41e29dea9c6753b1843a77e50433e6123bcb (diff)
x86, mce: Do not call del_timer_sync() in IRQ context
del_timer_sync() can cause a deadlock when called in interrupt context. It is used with on_each_cpu() in some parts for sysfs files like bank*, check_interval, cmci_disabled and ignore_ce. However, use of on_each_cpu() results in calling the function passed as the argument in interrupt context. This causes a flood of nested warnings from del_timer_sync() (it runs on each CPU) caused even by a simple file access like: $ echo 300 > /sys/devices/system/machinecheck/machinecheck0/check_interval Fortunately, these MCE-specific files are rarely used and AFAIK only few MCE geeks experience this warning. To remove the warning, move timer deletion outside of the interrupt context. Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions