|
|
Log in / Subscribe / Register

Faults in Linux 2.6

Faults in Linux 2.6

Posted Jul 18, 2014 1:16 UTC (Fri) by mathstuf (subscriber, #69389)
In reply to: Faults in Linux 2.6 by NightMonkey
Parent article: Faults in Linux 2.6

Staging is where drivers (and other code?) which are under heavy development live. It ships with the kernel, but almost(?) no distros ship them because they range from "crap" to "broken" on the quality scale. The goal is for them to move into the mainline releases.

The benefit of being in the kernel is that you get updated when interal APIs change. The benefit of not shipping by default is that users don't get their crashy behaviors.


to post comments

Faults in Linux 2.6

Posted Jul 18, 2014 12:41 UTC (Fri) by Duncan (guest, #6647) [Link] (3 responses)

Regarding the "almost(?) no distros ship..." bit, in part I'm sure it depends on what you define as "distro", but IIRC/AFAIK some of the stuff in staging is actually developed/sponsored by various distros. People don't write code without a purpose, after all, and some of the distros out there have needs that the mainstream doesn't have, so write or include new code that isn't yet upto mainstream kernel quality. Sometimes this code enters the main kernel via staging.

In particular I believe a lot of the staging drivers are shipped in various arm and embedded distros, and various android technologies ship there too (there's a whole section of staging options dedicated to android), before they're considered ready for the main kernel, pretty significant given that I don't believe anyone argues any more about android being the top distro in terms of number of deployed copies. Those distros (including android) might be rather far from the top-five "desktop/server" distros that you'd normally think of, but they're certainly "distros" in the absolute sense of the term.

But more traditionally mainline distro technologies sometimes ship as staging for a period as well, and I'm sure more of them would have had there /been/ a kernel staging project/directory in the past. IIRC the recent drm/radeon dynamic-power-saving stuff was shipped first as an option only available under staging, for instance, altho the code itself was in the mainline drm/radeon directory. I'm not sure if any distros actually shipped kernels with it there as it was only there for a kernel or two, but I think some of them would have (probably with a patch transferring the option out of staging so they didn't have to enable the full staging tree to enable it) has they shipped with that kernel.

And I believe several desktop distros (particularly those with a focus on netbooks, etc) were shipping zswap and the like before they came out of staging. Indeed, AFAIK the fact that distros were planning on using the patches anyway was part of the reason they were placed in staging in the first place.

There's likely to be far more use of staging for this sort of thing in the future, introducing stuff to staging that a few distros ship because it happens to address a problem in their area of focus, before it's considered mainline kernel quality.

Duncan

Faults in Linux 2.6

Posted Jul 18, 2014 12:54 UTC (Fri) by Duncan (guest, #6647) [Link] (2 responses)

A possibly big one I forgot about.

The accessibility-related speakup drivers are currently staging. I imagine a number of distros are shipping that as part of their accessibility efforts. I know I certainly read about speak-up before I saw the drivers for it in the kernel, tho I run a mainline kernel and don't track specific distro kernels, so for all I know what I was reading was about some userspace component, not the kernel driver.

Faults in Linux 2.6

Posted Jul 18, 2014 18:20 UTC (Fri) by Tara_Li (guest, #26706) [Link] (1 responses)

Of course, this is examining 3 year old code - Kernel 2.6.x, not Kernel 3.16.x, although it does have its value since Kernel 2.6.x is one of the long-term supported, especially in the LTS distros.

Faults in Linux 2.6

Posted Jul 19, 2014 0:04 UTC (Sat) by npalix (guest, #97937) [Link]

The main problem is to keep up with the development pace of Linux
and to have the man power for such a study.

Software resources are there.
http://hal.archives-ouvertes.fr/hal-01022704
http://faultlinux.lip6.fr/
http://coccinelle.lip6.fr/
https://github.com/coccinelle/


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