LWN.net Logo

Rip TTY layer to get rid of BKL?

Rip TTY layer to get rid of BKL?

Posted Jan 16, 2010 16:13 UTC (Sat) by patrick_g (subscriber, #44470)
In reply to: Rip TTY layer to get rid of BKL? by nix
Parent article: Looking forward to 2010

It's possible to get rid of the BKL because FreeBSD 8.0 did it.
Extract of the release notes :

"The FreeBSD TTY layer has been replaced with a new one which has better support for SMP and robust resource handling. A tty now has own mutex and it is expected to improve scalability when compared to the old implementation based on the Giant lock".


(Log in to post comments)

Rip TTY layer to get rid of BKL?

Posted Jan 17, 2010 13:36 UTC (Sun) by nix (subscriber, #2304) [Link]

You misunderstand. I wasn't saying that it was impossible to get rid of
the BKL (or to rewrite the entire TTY layer, although that would be
horrible). What I was disputing was that it was possible to replace the
TTY layer with something in userspace, and that GNU screen would be of any
particular help there.

Rip TTY layer to get rid of BKL?

Posted Jan 17, 2010 22:06 UTC (Sun) by patrick_g (subscriber, #44470) [Link]

You're right. My answer was for cybernytrix.

Rip TTY layer to get rid of BKL?

Posted Jan 18, 2010 11:38 UTC (Mon) by trasz (guest, #45786) [Link]

Also, FreeBSD already dropped line discipline support. Kernel-based ppp (and pppd), already obsoleted due to userland ppp(8) being better in pretty much every aspect, was dropped earlier, so it wasn't an issue.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds