|
|
Subscribe / Log in / New account

Control groups, part 1: On the history of process grouping

Control groups, part 1: On the history of process grouping

Posted Jul 3, 2014 15:10 UTC (Thu) by jpfrancois (subscriber, #65948)
In reply to: Control groups, part 1: On the history of process grouping by josh
Parent article: Control groups, part 1: On the history of process grouping

And how would that make the tty layer less fragile ?
How would serial port be handled ? How would the serial driver be accessed from the cuse driver ?


to post comments

Control groups, part 1: On the history of process grouping

Posted Jul 3, 2014 20:57 UTC (Thu) by josh (subscriber, #17465) [Link]

It wouldn't necessarily make the TTY layer less fragile (although as a userspace framework it'd be easier to test and keep stable). It would, however, help make the kernel less fragile. TTY is one of the touchiest bits of the kernel, where what looks like a minor cleanup can break behavior that a 15-year-old version of emacs depends on.

The kernel could provide raw-mode-only serial ports (a pure bytestream only), and allow the userspace TTY framework to provide any additional "cooked" functionality of ttyS* or ttyUSB* on top of that, analogous to how the kernel would not need need to provide tty[1-9]*.


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