[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140304.192616.918758436987378525.davem@davemloft.net>
Date: Tue, 04 Mar 2014 19:26:16 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ebiederm@...ssion.com
Cc: netdev@...r.kernel.org, xiyou.wangcong@...il.com, mpm@...enic.com,
satyam.sharma@...il.com
Subject: Re: [PATCH] netpoll: Don't call driver methods from interrupt
context.
From: ebiederm@...ssion.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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists