diff options
author | Timo Jantunen <jeti@iki.fi> | 2007-08-14 14:56:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-18 12:58:51 -0400 |
commit | 1a2b73302aacddf2543f9d7a25936e4323fa1486 (patch) | |
tree | cf69d0e212c9187696c205e9f9330e09f44c4c87 /kernel/rtmutex-debug.c | |
parent | 62be90012c507b2bf1047eb2eaa1e9151f7172fe (diff) |
fix random hang in forcedeth driver when using netconsole
If the forcedeth driver receives too much work in an interrupt, it
assumes it has a broken hardware with stuck IRQ. It works around the
problem by disabling interrupts on the nic but makes a printk while
holding device spinlog - which isn't smart thing to do if you have
netconsole on the same nic.
This patch moves the printk's out of the spinlock protected area.
Without this patch the machine hangs hard. With this patch everything
still works even when there is significant increase on CPU usage while
using the nic.
Signed-off-by: Timo Jantunen <jeti@iki.fi>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions