<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'> in the patch 0b5e1c5255e7ee8670e077e8224e5c2281229a5b, it releases console_sem after logbuf_lock, the description of this patch is as below:<BR> <BR>Release console_sem after unlocking the logbuf_lock so that we don't<br>generate wakeups while holding logbuf_lock. This avoids some lock<br>inversion troubles once we remove the lockdep_off bits between<br>logbuf_lock and rq->lock (prints while holding rq->lock vs doing<br>wakeups while holding logbuf_lock).<BR>There's of course still an actual deadlock where the printk()s under<br>rq->lock will issue a wakeup from the up() call, but lockdep won't<br>warn about that since semaphores are not tracked. <BR> <BR> could you please give me a detail example about the issue it tries to fix? thanks.<BR>                                            </div></body>
</html>