Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

The 2.5 Linux Kernel

Matt Sherer takes a look at the development picture for the 2.5 Linux kernel in this article, including some of the problems with the current development cycle and how we might be able to get around them.
Like this article? We recommend

The 2.4 Linux kernel, released on January 6, 2001, has been waiting for a successor for a significant period of time. Developers have been looking to work on the 2.5 tree ever since 2.4 was released—and even earlier. The problem is that the 2.4 kernel made some large capability jumps over the 2.2 series and has had some significant growing pains. As a result, it has taken a significant amount of time to get known issues in the new stable tree resolved. Everyone knew that there would be a period of time when work would be solely focused on the existing 2.4 tree.

But this has gone on for months, even though Linus has said that the 2.5 series will begin "soon." Some of the works in progress were needed in the field and simply could not wait for 2.6. This has resulted in some large revisions being added to the supposedly stable tree. Reiserfs was one of the first significant additions, and the memory-management system is now suffering the same fate. While it is true that some of these projects did need to be added immediately, some of the problems could have been avoided if there was were a shorter development cycle for the kernel. With a shorter cycle, forcing a project to wait until the next development cycle wouldn't mean putting it off for 10 months (and, by extension, making it wait for 2 years until the next stable release occurs). There would also likely be more control over what changed between cycles because it doesn't make sense to add large patches that aren't related to getting the next stable kernel into the field.

Before I get berated for covering only one side of the issue, let me acknowledge the fact that, with the large developer base scattered throughout the world, working on many different scales of effort, coordination for a single release point is very difficult, to say the least. Some groups might be ready for a small release cycle because most of their changes going forward are relatively easy to implement. Others might have significant problems with this because their project could take years to re-engineer between releases—and might take just as long to properly test between revisions.

Let me reiterate my point that if the release cycle were short, putting off the inclusion of your latest work wouldn't be devastating. There would be less of a need for everyone to be coordinated in releasing all code at the same time. If your code wasn't quite ready, you could skip this release and work toward the next. If the next release was expected to be in six months, this would be a much more acceptable time frame than being forced to wait two years for the next stable release. With a shorter list of active projects in a development cycle, the problem of coordinating all these disparate projects is greatly lessened.

This mentality, if used, would take a long time to sink in. Let's take a look at what is coming for the 2.5 development tree, when it does get here. The list, as you would guess, is fairly long, but I'll try to look at only the most important points because they are the few that should be focused on first. Keeping this list short is a big step in making sure that we see 2.6.0 before 2004.

About three months after 2.4.0 was released, the Linux 2.5 Kernel Summit was held in San Jose, California. Jonathan Corbet of Linux Weekly News covered the event, and many of the items in his report are still valid items waiting for the development tree:

  • Block layer redesign—The current design for the block layer has some significant performance penalties. Fixing these would ease the migration of upper-end database services to Linux. As it stands, the kernel uses some nonoptimal methods to break down requests. In addition, some subsystems are duplicated within most large database systems (such as an I/O scheduler). Furthermore, the raw I/O interface, which allows applications to bypass a filesystem and interact with a device directly, needs to be updated to handle large operations effectively.

  • Asynchronous I/O—True asynchronous I/O has been a dream within the kernel for a long time, and it appears that a solution is coming into place. The problem is that there are many opinions on how it should work, how the interface should look, and what types of I/O should be supported. While it sounds like a fairly small addition to the kernel, it actually does imply a great amount of forethought and testing. It appears that, in 2.5, we might actually see it completed because there has been a lot of work put into preparing the approach.

  • Network driver API—In very high load situations, the networking subsystem can lose data due to interrupt overhead. The problem is this: As packet loads skyrocket, the device issues interrupts for every packet that it sees. The kernel attempts to handle each one of these packets by scheduling kernel control paths for each interrupt seen. The overhead for this becomes too much to handle, and further packet interrupts are lost, even on network cards that aren't seeing much traffic. So, for a machine that bridges several networks, large amounts of traffic on one network can impact routing even between others.

  • Kernel build and configuration management—This one hits home for more people than just kernel developers: Anyone who is doing distribution development, updating their own systems, and so on will likely have to touch the kernel build system. And most of those people who have done so will agree that it's not the cleanest or most straightforward system.

Two separate problems in the kernel build are being worked on for 2.5: configuration management and the actual build system itself. For configuration management, the current system is called CML1 and doesn't have too many supporters. Eric Raymond has rewritten this system (in Python) in what is called CML2. Included in this new version is a theorem prover, a single system for dealing with config rules, and a simpler syntax. With the new system, if the theorem prover allows the ruleset, a valid kernel image should result from the build.

The build itself is the other portion of the problem going into 2.5 development. The new kbuild system is being developed to replace the currently used one. In the new system, some of the old complicated build files are gone, along with some stages of the build process itself. The old "make dep" stage is gone because the new kbuild will resolve dependencies during the normal kernel build. Likewise, "make modules" will go away because modules will be built along with the kernel image itself. Also, the process of installing the new kernel is automated. Among other things, the new kbuild will support building kernels outside the kernel tree itself, which can simplify operations for people testing various builds from the same kernel source.

Many other components of the 2.5 discussion were presented, but, in my opinion, these are the most pressing that would need to be solved first in the event of a short 2.5 development cycle. This is not an exclusive list because there are certainly other subsystems that could handle some updating without delaying release or impacting stability of other projects. A significant one that I have skipped is the memory-management arguments, mainly because that one is a bit too close to incendiary for my taste. Besides, it is one of those problems that can't wait for a two-year development cycle, so it is already being rewritten within the current stable 2.4 tree.

Keep in mind that this list was compiled in April 2001. While these items are still valid and waiting for 2.5, some others have come up. In general, most of them are smaller requests and are oriented more toward reorganization of driver code, which is just large enough of a change that it should not generally be attempted within a stable tree. Items that are likely to be updated in particular are the frame buffer drivers, support for newer protocols (such as SCTP, among others), more filesystems, POSIX-compliant event logging, LVM updates, and much more.

As we move forward, the list of items will only grow. Opening the 2.5 tree will help in getting some of these projects further underway and get more testing, but, at the same time, it will only open the door to a large development cycle if many of the longer-term ones are accepted during the first rush. It is my opinion that a specific set of items should be selected for updating in the 2.5 tree, and that list should be expanded only on a strict case-by-case basis. Of course, this list could be significantly long, provided that many of the projects have minimal overlap. For many of the driver modifications, this is likely the case. This would help to ensure that the 2.5 cycle is short, and, in any case, other projects still can develop outside the main tree. If the 2.6 kernel can be released relatively quickly, many of the side projects will be more solidified by that point and will be more likely to be included in the 2.7 tree as being nearly completed.

In all likelihood, the chances of this model being adopted are slim—after all, the kernel developers have been attempting to reduce the development cycle for years. In the end, it is a complex system that requires a lot of code and a lot of testing, neither of which is conducive to a quick turnaround. Some have called for a specific release date for 2.6.0, to make sure that everyone knows when code needs to be ready and so that no one will attempt to send large patches at the last minute. But, as we all know, time-based deadlines are likely to fail, and the code will be ready when it is ready. The development cycle of the Linux kernel is dependent on one thing: the code itself. If the magnitude of code (read: complexity) can be reduced during the development cycles, it will yield a stable kernel in a shorter amount of time, a more stable testing environment during development, and a happier group of end users in the process.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020