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

Ubuntu Convergence

  • The Race to Convergence: Or is it a Marathon?
    This article, although it was smart to feature Ubuntu as a forerunner, it foolishly tried to give credit to Microsoft for ‘truly being the first’ to do convergence. First, did they? I had no idea. Nor do I care. Nor does anyone else I roll with. If the name has ‘Microsoft’ in it, we flee for the hills. Why? Because it’s compromised out of the box. It is dangerous.
  • Have We Converged Yet?
    Convergence is not about a unified computing experience across all your devices. Although that's an important goal, convergence is more about that point in time where your philosophy that technology should respect people converges with that of a group or company that believes the same.
  • Ubuntu.com Gets a New Look for the Tablet Section, Rest of Website to Follow
    With the new Ubuntu tablet out the door, Canonical also had to upgrade the website to reflect the changes accordingly, so now ubuntu.com has a really nice section dedicated to the BQ Aquaris M10. If we don't take Android into account, we can't really say that there are successful Linux-based tablet out there. It's not clear why that came to pass, but until this Ubuntu-powered tablet landed, there wasn't much competition. To be fair, there is not much competition right now, since Apple and Google pretty much dominate the market, but BQ Aquaris M10 is the only one that can double down as a regular PC.
  • BQ Ubuntu Tablet Has 64-bit CPU and Will Be Able to Run 32-bit ARM Apps
    The BQ Aquaris M10 Ubuntu tablet is powered by a 64-bit ARM processor, so the users have already started to ask around if they will be able to run the 32-bit apps from the phone on the tablet. The short answer is yes. The long answer is that it will take a little bit of work.
  • What the Ubuntu Convergence Means for Businesses, Consumers, OEMs, and Devs
    As you may well be aware, Canonical and BQ unveiled the world's first Ubuntu Tablet, the BQ Aquaris M10 Ubuntu Edition, which also happens to be the first Ubuntu converged device, which users can transform into a full-fledged PC.

CoreOS' Docker alternative reaches 1.0

Docker Images Are Moving From Ubuntu To Alpine Linux

Docker is reportedly going to be migrating all of their official images from an Ubuntu base to now using Alpine Linux. Alpine Linux is the lightweight distribution built atop musl libc and BusyBox while using a GrSecurity-enhanced Linux kernel. Alpine Linux uses OpenRC as its init system. If you are unfamiliar with this "Small. Simple. Secure." distribution, you can learn more via AlpineLinux.org. The image for Alpine is a mere 5MB. Read more Also: Docker Founders Hire Alpine Linux Developer to Move the Official Images to Ubuntu

Meaning of Convergence, Exploit Excludes Linux

The big news yesterday and even into today was the new Ubuntu tablet, which everyone including Canonical touted as "convergence delivered." Well, today Randall Ross scolds news sites for missing the "timely idea" that is convergence. In other news, security researchers have identified a new exploit that specifically avoids Linux. FOSS Force found that Linux users have no interest in anti-virus software and Phoronix reports on Ubuntu performance over the years. Read more