delay in booting due to consloe_unlock inprintk

Syam k.meghasyam at gmail.com
Fri Dec 23 01:59:17 EST 2011


HI All,

I am getting more than 1 sec delay during booting.
While registering console (for serial console ttys ), there is about 1 sec
delay in executing the console_unlock() in printk.c

It was found that delay is occuring in call_console_drivers()
******************************
if (c == '\n') {
if (msg_level < 0) {
/*
 * printk() has already given us loglevel tags in
 * the buffer.  This code is here in case the
 * log buffer has wrapped right round and scribbled
 * on those tags
 */
msg_level = default_message_loglevel;
}
 _call_console_drivers(start_print, cur_index, msg_level);    // if this
part is commented, there is no delay observed?
*******************************


is there any way to find out what is causing the delay.

-- 
Warm Regards,
Syam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111223/96614a46/attachment.html 


More information about the Kernelnewbies mailing list