Originally posted by mangeek
View Post
Announcement
Collapse
No announcement yet.
GNU/Hurd Continues Effort To Use NetBSD's Drivers For Better Hardware Support
Collapse
X
-
- Likes 1
-
Originally posted by sinepgib View PostI think there's an incentive problem there.
Comment
-
Originally posted by mangeek View Post
I'm not hip enough to understand the internals well-enough, but I suspected as much. Perhaps alternative OS providers could build their internal device class subsystems to be somewhat close to Linux ones, since that's the center of mass? At least then they only have to re-invent 20% of the wheel. Are the parts of Linux that implement the device classes for drivers nice and clean?
Besides, a standard tends to become a least common denominator. For example, would you expect all smaller OSes to implement io_uring or an equivalent? AFAICT it's rather pervasive and at some level it may end up affecting some drivers. I know that's true for AF_XDP sockets as well, even tho there's a generic skbuf implementation for it. It'd still be kinda defining the whole architecture of your network stack, which some might find undesirable (for example, how zerocopy sniffing works in Linux is incompatible with how it works on FreeBSD because of this kind of design choices, and both make sense and are different trade offs).
If you make those a requirement then smaller OSes will have a hard time implementing the required features. If they're extensions then you may find that either some drivers don't work out of the box or driver providers restrict to the more limited version instead of taking full advantage of the hardware.
- Likes 2
Comment
Comment