Language Selection

English French German Italian Portuguese Spanish

Torvalds: How to Keep Linux Kernel on Course

Filed under
Linux

The rapid pace of Linux development appeared to hit a roadblock last year with the industry's decision to forestall development of the Linux 2.7 kernel. Linux vendors and developers wondered if tweaking a single, stable 2.6 kernel could work in practice.

According to open-source insiders, the move to create separate kernel trees for technology testing and bug fixes, which are then incorporated into the stable kernel when ready, has been a huge success, pleasing both kernel developers and the vendors who distribute the open-source operating system.

"I'm certainly pleased, and judging from the reactions we had at the Linux Kernel Summit in Ottawa a few weeks ago, most everybody else is too," Linus Torvalds, the founder of the Linux operating system, told eWEEK.

The biggest advantage of staying with 2.6.x was that developers do not have two different trees between which they need to port patches, which makes them happy, he said.

Linux vendors tend to like the move, because the upgrades are more gradual, rather than the huge, and potentially painful, jumps of the past.

This shift started at the 2004 Linux Kernel Summit with the decision to no longer have a separate kernel development tree, but to keep adding new features, technologies and patches to the existing 2.6 stable tree, Greg Kroah-Hartman, a Linux kernel developer with Novell, told attendees at the annual O'Reilly Open Source Convention last week.

That decision has spawned three separate 2.6 trees: The first is the mainline or stable kernel, known as 2.6.x and which is maintained by Torvalds; the second is known as the 2.6-mm tree, and is where technologies are tested before they get into the mainline kernel; and the third is the 2.6.x.y kernel (known as the .y kernel), which is for bug fixes only.

The .y kernel is governed by a set of strict rules, including that the fix has to be less than 100 lines, that it applies to something already in the mainline kernel, and there had to be a three-day public review of all patches to allow all involved parties time to express their view and to make sure that everyone bought in, Kroah-Hartman said.

There were 12 2.6.11.y releases, with just 507 lines added and 303 lines removed, "which is the way to just get things fixed and I think shows that this process is working. These fixes also go into the mainline release and the 2.6.11.y was dropped when the 2.6.12 release came out. There have been four 2.6.12.y releases so far, with the latest released last Friday," he said.

The 2.6.12.y releases have had just 169 lines added and 199 lines removed.

"We are not back porting big experimental things into the .y-series," he said.

But there needed to be a mechanism for testing new technologies, a place where they could be revised, updated and even removed before actually getting into the mainline kernel.

Full Article.

More in Tux Machines

Android Leftovers

New/Imminent Releases: Black Lab Linux, Exton|Defender, Mageia

  • Black Lab Linux 8.1 Released
    Today we are pleased to announce the release of Black Lab Linux 8.1. Our first incremental release to the 8.0 series. In this release we have brought all security updates up to Feb 15, 2017 as well as application updates.
  • Exton|Defender Super Rescue System Is Now Based on Fedora 25 and Cinnamon 3.2.8
    GNU/Linux developer Arne Exton is announcing the availability of a new build of his Exton|Defender SRS (Super Rescue System) Live DVD/USB designed for those who want to do various administrative tasks on their PCs. Based on the 64-bit version of the Fedora 25 operating system, Exton|Defender SRS Build 170218 comes with up-to-date tools that let you administrate and repair your operating system after a disaster. It's now powered by the Linux 4.9.9 kernel and uses the gorgeous Cinnamon 3.2.8 desktop environment by default.
  • Mageia 6 Has Been Running Months Behind Schedule, But It's Still Coming
    Samuel Verschelde of the Mandrake/Mandriva-forked Mageia Linux distribution has put out a blog post concerning the state of Mageia 6. The last Mageia 6 test release was in June of last year and their next Mageia 6 "stabilization snapshot" has been repeatedly delayed for months.
  • So where is Mageia 6?
    There is no mystery about it, we are totally off schedule. The last preview we published for Mageia 6 was Stabilization Snapshot 1 in June 2016, and Stabilization Snapshot 2 still hasn’t been published, although we have been saying “soon” for weeks, or even months! So what’s going on? Is Mageia dead? Fortunately not. But it’s good that you worry about it because it shows you like your Linux distribution. We need to communicate about the state of things so that you can stop worrying, so here we are.

5 Signs That Show You’re a Linux Geek

While Linux is certainly very easy to use, there are some activities surrounding it that are seen as more complex than others. While they can be all be avoided easily enough, they do have a certain, geeky appeal. How many of them do you follow? Read more

Top 5 best rising Linux distros in 2017

Linux is built for tinkering and experimentation, which means it’s always morphing and changing. New distros are popping up all the time, because all it takes is a little bit of determination, time and effort to create a custom operating system. Not all of them hit the mark – there are stacks of Linux distros that have seen little to no action, and we’re almost certain that some have been released and never installed by anyone other than their creator. Other alternative distros, though, fare rather better. Look at the success of Linux Mint, which spun off from Ubuntu to become (at times) arguably more popular than its own parent. Indeed, Ubuntu itself grew from Debian, and its niche offshoots (distros like Ubuntu Studio) have seen good movement. If there’s a market out there for your distro, there’s traction to be had. So let’s look at our pick of the five distros moving up swiftly through the ranks as of early 2017. Some of these might become the best Linux distros out there, some might turn out to be awful – but it won’t cost you a penny to try them out. Read more