summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb/dib0700_devices.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-07-03 14:31:26 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-24 09:14:12 -0700
commit7605f791515eea189e956db44b5a404bd93b29dc (patch)
tree04e30097f7e83f3f5aa4a695336e3f2f8eebcd82 /drivers/media/dvb/dvb-usb/dib0700_devices.c
parentc23d253e757a7514ec160fb7fdb0d3ba558b8f6a (diff)
hrtimer: prevent migration for raising softirq
commit ee3ece830f6db9837f7ac67008f532a8c1e755f4 upstream. Due to a possible deadlock, the waking of the softirq was pushed outside of the hrtimer base locks. See commit 0c96c5979a522c3323c30a078a70120e29b5bdbc Unfortunately this allows the task to migrate after setting up the softirq and raising it. Since softirqs run a queue that is per-cpu we may raise the softirq on the wrong CPU and this will keep the queued softirq task from running. To solve this issue, this patch disables preemption around the releasing of the hrtimer lock and raising of the softirq. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dib0700_devices.c')
0 files changed, 0 insertions, 0 deletions