Mathieu Desnoyers wrote:!oops_in_progress is already inside wake_up_klogd(). Also, I think you'd want that first '!' inside the parens. I've been working on a system to handle deferred displaying of printk messages, when printk is called in interrupt context. Currently on a serial console if printk is called with ints disabled, it can hold interrupts off for up to 20 milliseconds. My solution was to set up a worker thread to handle deferred printk activity. I don't think this works for the oops case, because you don't want to defer the output. However, I can post this code if you think it would help with this problem. I hesitate to just drop the call to wake_up_klogd() without some kind of mechanism call it later. Waiting until the next printk will work to drain the buffer, but could lead to indefinite intervals with printks waiting to be logged. -- Tim ============================= Tim Bird Architecture Group Chair, CE Linux Forum Senior Staff Engineer, Sony Corporation of America ============================= --
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Arjan van de Ven | [Announce] Development release 0.1 of the LatencyTOP tool |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg Kroah-Hartman | [PATCH 020/196] IDE: Convert from class_device to device for ide-tape |
git: | |
| Tantilov, Emil S | RE: [PATCH] net: sk_alloc() should not blindly overwrite memory |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
