Re: [PATCH] netpoll: Don't call driver methods from interrupt context.
From: David Miller <davem@davemloft.net>
Date: 2014-03-07 19:31:04
From: David Miller <davem@davemloft.net>
Date: 2014-03-07 19:31:04
From: ebiederm@xmission.com (Eric W. Biederman) Date: Wed, 05 Mar 2014 11:24:33 -0800
Now that I have looked closer the printk generating a printk problem seems to be something that is best solved at the printk level.
I'm not so sure that disallowing printk recursion is necessary. If you consider an error printk emitted from a device driver's transmit function during netconsole output, netpoll handles this transparently already. Basically, what happens right now in this situation is that netpoll queues it up when recursion is detected, and delayed work is scheduled to process such pending packets. The only issue at hand is the IRQ context bit.