LWN.net Logo

Oh the irony

Oh the irony

Posted Jan 17, 2007 12:56 UTC (Wed) by gravious (guest, #7662)
In reply to: Oh the irony by drag
Parent article: Sun to release OpenSolaris under GPL version 3 (Linux-Watch)

it would be intriguing if we could get a driver compatibility layer (by tweaking OpenSolaris GPLv3 and Linux GPLv2) that would allow drivers to be written once and to run on both. Probably impossible considering the Linux devs have declared Linux to be a moving target and the interwoven nature of drivers and their respective kernel... a guy can dream can't he?


(Log in to post comments)

Oh the irony

Posted Jan 17, 2007 14:20 UTC (Wed) by k8to (subscriber, #15413) [Link]

This is really just another request for a frozen binary interface in disguise. I think Linux has demonstrated that eschewing a binary interface can work very well, and does work very well for Linux. Trying to lock down the driver interface goes against Linux development practices, which are working fine.

Further, it is _desirable_ that if you are going to have "duplicate" free unix kernel projects that it be possible for their interfaces to diverge, so that different approaches may be explored and ultimately the systems may improve.

In short, I think the benefits for "shared drivers" would be much lower than the benefits for "duplicate drivers", and they might be lower with more manpower in terms of dealing with the unavoidable eventual in-kernel design cruft resulting from frozen interfaces. Solaris certainly has been, in the past, much less willing to change programming interfaces than Linux has been, so maybe Solaris alone will feel more comfortable to you. Personally, I'm hoping that OpenSolaris's openness encourages them to be willing to dump clearly awful solutions (how long was STREAMS the default?) and deploy improvements.

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