Messages in this thread | | | Date | Fri, 8 Nov 2013 00:46:49 +0100 | From | Frederic Weisbecker <> | Subject | Re: [PATCH 3/4] printk: Defer printing to irq work when we printed too much |
| |
On Thu, Nov 07, 2013 at 06:37:17PM -0500, Steven Rostedt wrote: > On Fri, 8 Nov 2013 00:21:51 +0100 > Frederic Weisbecker <fweisbec@gmail.com> wrote: > > > > Offloading to a workqueue would be perhaps better, and writing to the serial > > console could then be done with interrupts enabled, preemptible context, etc... > > Oh God no ;-) Adding workqueue logic into printk just spells a > nightmare of much more complexity for a critical kernel infrastructure.
But yeah that's scary, that means workqueues itself can't printk that safely. So, you're right after all.
| |