<div dir="ltr">HI All,<div><br></div><div>I am getting more than 1 sec delay during booting.</div><div>While registering console (for serial console ttys ), there is about 1 sec delay in executing the console_unlock() in printk.c</div>
<div><br></div><div>It was found that delay is occuring in call_console_drivers()</div><div>******************************</div><div><div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>if (c == &#39;\n&#39;) {</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>if (msg_level &lt; 0) {</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>/*</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span> * printk() has already given us loglevel tags in</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span> * the buffer.  This code is here in case the</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span> * log buffer has wrapped right round and scribbled</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span> * on those tags</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span> */</div></div><div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>msg_level = default_message_loglevel;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>}</div></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><span class="Apple-tab-span" style="white-space:pre">        </span></div><div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>_call_console_drivers(start_print, cur_index, msg_level);    // if this part is commented, there is no delay observed?</div></div><div>*******************************</div>
<div><br></div><div><br></div><div>is there any way to find out what is causing the delay.</div><div><br></div>-- <br><div dir="ltr">Warm Regards,<br>Syam</div><br>
</div></div>