March 7, 2026

PBX Science

VoIP & PBX, Networking, DIY, Computers.

Linux Kernel Surpasses 40 Million Lines of Code:Doubling in a Decade

Linux Kernel Surpasses 40 Million Lines of Code:Doubling in a Decade



Linux Kernel Surpasses 40 Million Lines of Code:Doubling in a Decade

At the beginning of 2025, the Linux kernel has reached an impressive milestone: its source code has surpassed 40 million lines.

The release of Linux 6.13 in early January 2025 contained 39,819,522 lines, and with the recent introduction of Linux 6.14 rc1, this number has surged to 40,063,856 lines.

This achievement represents a doubling of the Linux kernel’s size since 2015, when it had just 20 million lines of code.

Linux Kernel Surpasses 40 Million Lines of Code:Doubling in a Decade

Rapid Growth of the Linux Kernel

The Linux kernel has experienced remarkable growth over the years. According to Heise Online, each major development release adds an average of 400,000 lines of code. These additions include not only functional code but also comments, documentation, and even formatting elements such as blank lines for better readability.

Tailored Code for Specific Systems

Experts point out that not all of the kernel’s source code is necessary for every user or system. For instance, the Linux kernel accommodates numerous processor architectures, and the code dedicated to different processors totals around 4.5 million lines. However, most users only require code specific to the architecture of their devices.

For example, systems using x86 processors (commonly found in PCs) only utilize a subset of this code—less than 500,000 lines specific to the x86 architecture. Moreover, compilers can further narrow down this subset by selecting only the code relevant to the particular x86 chip architecture used in the system.

The ever-expanding Linux kernel continues to highlight the operating system’s versatility and its commitment to supporting a wide range of platforms, devices, and use cases.

L


Windows Software Alternatives in Linux


Disclaimer of pbxscience.com

PBXscience.com © All Copyrights Reserved. | Newsphere by AF themes.