LWN: Comments on "Simple wait queues" https://lwn.net/Articles/577370/ This is a special feed containing comments posted to the individual LWN article titled "Simple wait queues". en-us Thu, 16 Oct 2025 09:23:53 +0000 Thu, 16 Oct 2025 09:23:53 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Simple wait queues https://lwn.net/Articles/577681/ https://lwn.net/Articles/577681/ smurf <div class="FormattedComment"> The link to the sleep_on() article (written in 2004) contains this gem at the end:<br> <p> <font class="QuotedText">&gt;&gt; sleep_on() will undoubtedly exist when the 2.7.0 kernel is released, but there may be very few callers of it by then</font><br> <p> … and while there never was a 2.7, sleep_on() lingers on, in a few old device drivers …<br> </div> Thu, 19 Dec 2013 09:19:23 +0000 Simple wait queues https://lwn.net/Articles/577674/ https://lwn.net/Articles/577674/ johill <div class="FormattedComment"> Does anyone know if this API would be able to support lockdep annotations?<br> <p> The current waitqueues make that impossible, but unfortunately deadlocks are possible. The swait code doesn't contain any such annotations right now, but I think it would be very useful.<br> <p> With swait_prepare()/_finish(), it seems adding lockdep annotations might actually be possible?<br> </div> Thu, 19 Dec 2013 08:39:41 +0000