![]() | |||||||||||||
Messages in this thread |
On Wed, May 18, 2005 at 05:24:13PM -0700, George Anzinger wrote: > Um... I would think the real fix is to set the UART up to generate the modem > status interrupt and eliminate the pole loop. Why can't this be done? I, for > one, don't want my cpu looping in the serial driver, even more so with the > interrupt system off. This, in my mind, is a real bug in the serial driver and > should be so handled. Because printk is *synchronous*. It never returns until it's written the entire message. There is no buffering. Extra complexity, adding reliance on interrupts, etc all means that you reduce the probability that you'll get the panic or oops message out of the system. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-05-19 09:38 [from the cache] ©2003-2008 | |||||||||||||