Re: [PATCH] netpoll: Don't call driver methods from interrupt context.
From: David Miller <davem@davemloft.net>
Date: 2014-03-05 00:26:18
From: David Miller <davem@davemloft.net>
Date: 2014-03-05 00:26:18
From: ebiederm@xmission.com (Eric W. Biederman) Date: Tue, 04 Mar 2014 16:03:43 -0800
So I would like some clear guidance. Will you accept patches to make it safe to call the napi poll routines from hard irq context, or should we simply defer messages prented with netconsole in hard irq context into another context where we can run the napi code? If there is not a clear way to fix the problems that crop up we should just delete all of the netpoll code altogether, as it seems deadly in it's current form.
Clearly to make netconsole most useful we should synchronously emit log messages. Because what if the system hangs right after this event, but before we get back to a "safe" context. That's one bug that will be a billion times harder to diagnose if we defer.